Menu

Remote debugger

demalexx
2010-09-10
2013-03-15
  • demalexx

    demalexx - 2010-09-10

    Hi, I have a question about remote debugger. Does it work like local debugger, when I can set/unset breakpoint and it will stop at that breakpoint? I setup remote debugger but debugger stops only after this line: import pydevd;pydevd.settrace(). Then I can step through my code, see variables etc. But debugger doesn't stop when I add breakpoint in Eclipse GUI.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2010-09-13

    After passing through the pydevd.settrace() it should stop in any breakpoints you have defined. You can even call pydevd.settrace(suspend=False) if you don't want it to stop at the settrace call, only on defined breakpoints. There is a catch though, by default it'll only trace the current thread, if you want it to trace other threads in this call, you have to call settrace(trace_only_current_thread=False).

    Cheers,

    Fabio

     
  • demalexx

    demalexx - 2010-09-14

    Thank you, very clear! :)

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.