[Qgis-developer] PyDev debug breakpoints

krwoloq dalibor.kusic at in2.hr
Fri Dec 30 10:21:36 PST 2016


Hi!

I have two installations of QGIS - one 2.6.1 for my legacy project and the
newer 2.16.1. I'm trying to use the remote debugger on the 2.6.1.

On both installations I did the same thing:
* Install Eclipse with PyDev (Aptana Studio)
* Install Remote Debug plugin
* Configure remote debug plugin with the pydevd path from Aptana
installation
* Create a linked folder in Aptana to the plugin source file
* Put a breakpoint in the .py source
* Start PyDev Debug Server (shows Debug Server root and Debug Server node)
* Start remote debug in QGIS (shows "unknown" node under Debug Server root)
* Run the plugin

But, in my 2.6.1 installations breakpoints do not work (in 2.16.1 it works
fine). What could I be missing? I can still suspend the code "manually"  by
using settrace or suspending the thread in PyDev (it breaks on the first
next call), however I can't get the breakpoints to work :( Any idea? I don't
think I did anything different on the 2.16.1 installation that does work.

d.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/PyDev-debug-breakpoints-tp5301651.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list