![]() Many developers are accustom to using predefined completions when writing their code (eg. Setting up Predefined Completions (optional) Pydev then Debug you can define here the port and the timeout you want.If you do not want to use the default port (usually 5678) you can set it up: Setting the remote debugger port (optional) You should see 2 new buttons in your toolbar:.In the menu bar select Window -> Customize perspective., a window Customize Perspective - PyDev will open.Use this view for your developments in Python for XBMCĪdd Pydev Start/Stop debug server buttons Select Pydev then OK, a PyDev View Button should be now available on the top right corner.On the top right corner click on the View button on select Others.This will help in order to have Python code completion (except for XBMC modules) After that you should see something like this: In the new prompt, enter the Interpreter Name: Python, and Browse for your Python Interpreter 2.4 python.exe file and select it.Check PyDev box and follow the steps in order to install PyDevĬonfigure Pydev and Eclipse Add Python Interpreter Path.Click on the Add button and add Pydev website as a source:.Python interpreter 2.4 (use the same version as XBMC or version Install New Software.Any platform able to run Eclipse IDE (Windows 32bit-64bit, Mac Carbon 32bit-64bit, Mac Cocoa 32bit-64bit, Linux 32bit-64bit): it is the platform from where you will run the debugger IDE.3.5 Add to your python script the code for remote debug.3.4.4.2 Option 4: (Suggested for Linux users).3.4.4.1 Option 3: (Suggested for Windows users).3.4.4 Copy pysrc in XBMC Python install.3.4.3 Choose how XBMC will refer to Pydev debugging module.3.4.2 Modify PyDev source in order to support XBMC paths.3.4.1 Identify where PyDev remote debugger Python files are.3.4 Add Pydev Python source code (pysrc) to XBMC.3 Create a Python script/plugin for XBMC in Eclipse.2.3.5 Setting up Predefined Completions (optional). ![]() 2.3.4 Setting the remote debugger port (optional).2.3.3 Add Pydev Start/Stop debug server buttons.
0 Comments
Leave a Reply. |