Release script.module.pydevd
#1
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:

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!
Reply
#2
Hi, i'm running Eclipse Indigo SR1 with everything set in place.
It all seems to work okay for one run. But if I stop the Addon and restart it, the debugging/stepping doesn't work anymore.

I can stop/start the Eclipse debugging server, but does not have any effect.
Only thing I can do is stop/start xbmc. Then it works again.

Did you also encounter this?
Reply
#3
Hi,

tested with Eclipse Kepler (4.3.2) and working...Thanks man! Smile
Reply
#4
The links appear to be broken...
Thanks for doing this!
Reply
#5
Apologies for not replying sooner. Seems I didn't subscribe. This module has been renamed to reflect its true contents, and the url has been updated. This addon is now just a slim wrapper around the code provided by the PyDev team. It is now hosted on Dropbox, since binaries in GitHub is a bad idea.

Note there are two known issues with this:

- Some images might not render while debugging.
- XBMC might hang when closed.

Neither of these are under my control. For image rendering, I just rerun with debugging disabled to confirm that everything appears correctly.
Reply

Logout Mark Read Team Forum Stats Members Help
script.module.pydevd1