Re: [Qgis-developer] Debugging Python plugin with Eclipse: breakpoints do not wotk

2014-03-25 Thread Franz1965
I've also taken a try with an alternate RemoteDebug plugin
(https://github.com/luipir/qgis-remote-debug) but with no luck.

It's strange... RemoteDebug is not in the list of installable plugins and
you have to manually download and install it. But on downloaded version,
inside metadata.txt, I find qgisMaximumVersion=2.99; so I guess that it
should be compatible.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Debugging-Python-plugin-with-Eclipse-breakpoints-do-not-wotk-tp5130877p5130945.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Debugging Python plugin with Eclipse: breakpoints do not wotk

2014-03-25 Thread Franz1965
giohappy wrote
 I usually do it without using the QGIS remote debugger.
 http://pydev.org/manual_adv_remote_debugger.html
 giovanni

Hi Giovanni,

Many thanks for help, it works :)

But... it seems that, with this approach, dynamic breakpoints are replaced
by static calls of pydevd.settrace() written into code. I'm right?... This
can be good for simple scenario, but with complex code it could be tricky to
statically write pydevd.settrace() wherever you suppose to need a break.

So... that's a very good starting point for me, but I still need to fix
RemoteDebug (and use breakpoints) for developing scenario I would like to
open in the future.

Best regards

Francesco




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Debugging-Python-plugin-with-Eclipse-breakpoints-do-not-wotk-tp5130877p5130963.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer