2013-08-06, 18:44
Hi,
I wrote this a while back, largely because it seemed that the documentation for debugging XBMC scripts seemed convoluted.
Get it zipped or from my repo.
This script contains pydev debug modules to allow debugging to be used in Eclipse/Aptana.
You will need a "requires" in your addon.xml:
Then just use it as per Eclipse/PyDev documentation.
Ie, put...
...in your script and start the pydev server.
The usual instructions are at http://pydev.org/manual_adv_remote_debugger.html
Enjoy!
I wrote this a while back, largely because it seemed that the documentation for debugging XBMC scripts seemed convoluted.
Get it zipped or from my repo.
This script contains pydev debug modules to allow debugging to be used in Eclipse/Aptana.
You will need a "requires" in your addon.xml:
Code:
<import addon="script.module.pydevd" version="3.4.1"/>
Then just use it as per Eclipse/PyDev documentation.
Ie, put...
Code:
import pydevd
pydevd.settrace('localhost', stdoutToServer=True, stderrToServer=True)
...in your script and start the pydev server.
The usual instructions are at http://pydev.org/manual_adv_remote_debugger.html
Enjoy!