Trouble with rpdb2 and winpdb debuggers in embedded Python script

Discussion in 'Python' started by Matthew Severin, Jul 25, 2008.

  1. Having some trouble getting rpdb2 and winpdb running properly with
    Python embedded in a C++ project.

    Our implementation has a number of C++ classes associated with Python
    classes.

    I am able to attach to the embedded script with the debugger and the
    program freezes and waits. However, when I step, next or go with the
    debugger, it instantly gives control back to C++ and doesn't step nicely
    through the python.

    Similarly, if I set a breakpoint, the program pauses momentarily but
    then doesn't break properly in the debugger.

    Just wondering if anyone had encountered anything similar, or had an
    idea what we are doing wrong.

    Thanks,
    Matt
     
    Matthew Severin, Jul 25, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mclaugb

    Winpdb question

    mclaugb, Nov 9, 2005, in forum: Python
    Replies:
    2
    Views:
    298
  2. Uwe Grauer

    How to stop winpdb programatically

    Uwe Grauer, Apr 18, 2006, in forum: Python
    Replies:
    1
    Views:
    288
  3. Replies:
    4
    Views:
    672
  4. Adrian Genaid
    Replies:
    0
    Views:
    590
    Adrian Genaid
    May 16, 2009
  5. Replies:
    0
    Views:
    106
Loading...

Share This Page