Debugging embedded python

Discussion in 'Python' started by kalita@poczta.onet.pl, Apr 7, 2007.

  1. Guest

    I'm a Python newbie, and I'm looking for a way to debug Python scripts
    run from a C++ program by using PyRun_FileEx() function.

    So far I tried pdb, but it only raises bdb.BdbQuit exception in a line
    immediately after pdb.set_trace() is called. I guess it's because it
    is not running under normal Python interpreter, but just as well I may
    be doing something wrong.

    Can you please suggest what I may be doing wrong with pdb, or maybe
    another python debugger?

    cheers,
    Marcin
    , Apr 7, 2007
    #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. Howard Lightstone

    Debugging a task with Python embedded

    Howard Lightstone, Oct 2, 2003, in forum: Python
    Replies:
    0
    Views:
    514
    Howard Lightstone
    Oct 2, 2003
  2. fotis

    Debugging embedded python

    fotis, Jul 4, 2005, in forum: Python
    Replies:
    2
    Views:
    595
    fotis
    Jul 4, 2005
  3. Thomas Korimort

    Debugging functionality for embedded Python

    Thomas Korimort, Nov 30, 2005, in forum: Python
    Replies:
    0
    Views:
    270
    Thomas Korimort
    Nov 30, 2005
  4. TK
    Replies:
    1
    Views:
    320
    Scott David Daniels
    Nov 30, 2005
  5. Colin Paul Gloster
    Replies:
    48
    Views:
    1,851
    Colin Paul Gloster
    Apr 10, 2007
Loading...

Share This Page