how to set a breakpoint in non-project code?

2008-09-29
2013-03-15
  • Daniel Shevitz
    Daniel Shevitz
    2008-09-29

    Howdy,

    I'm having a problem debugging my app. I have my project which is under subversion control. I am using Traits library
    code from Enthought as the dominant framework for my app. My code is causing the Traits code to break, so I need to
    set a breakpoint in the Traits code.

    I don't seem to be able to do this. If I open the code, using File->Open File..., I can't set a breakpoint. I don't want to
    import this code into my project II believe this entails copying the code) as this is a large block of code and I don't want to change my pathing and in any case it's the wrong thing to do. So what's the simplest way to set a breakpoint in code
    that is on the run path, but nothing more?

    thanks,
    Danny

     
    • Fabio Zadrozny
      Fabio Zadrozny
      2008-10-01

      Please report that as a bug (I remember that working once, so, maybe something broke it)... Also, please see http://pydev.sourceforge.net/faq.html#how_do_i_report_a_bug for the details that should be in the bug report.

      Cheers,

      Fabio