[Eric] debug python application-plugin

Marco Bernasocchi marco at bernawebdesign.ch
Thu May 31 19:48:23 BST 2012


Hi All, I was wondering how I could use erich to debug python plugins 
for QGIS.org.
With Pydev I do |0]:

import sys
sys.path.append("/home/me/.eclipse/org.eclipse.platform_3.7.0_155965261/plugins/org.python.pydev.debug_2.2.4.2011110216/pysrc/") 

from pydevd import *

And then anywhere in that file where you want a breakpoint to be 
triggered, simply insert this line:
settrace()


I'd really like to switch to eric but I couldnt figure out how to do 
this using passive debugging.

thanks a lot
Marco

|0] 
http://linfiniti.com/2011/12/remote-debugging-qgis-python-plugins-with-pydev/ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20120531/e56379b0/attachment.html>


More information about the Eric mailing list