Menu

Attach PyDev debugger to python.dll

Anonymous
2011-07-11
2013-03-15
  • Anonymous

    Anonymous - 2011-07-11

    I'm using a product that includes an embedded python interpreter (python2.6.dll) on a Windows box. I tried to attach Pydev's debugger to both the product's executable (xyz.exe) as well as the python dll, but both failed. Does the dll or application need to be built with certain options to allow debugging in Pydev?

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-07-11

    It should work with any version, as long as you have the pydev debugger and the python standard library in the PYTHONPATH. Which error are you having?

    Cheers,

    Fabio

     
  • Anonymous

    Anonymous - 2011-07-12

    Under the Project preferences, I chose PyDev>Interpreter - Python. I clicked the New… button to add a new Interpreter. When I pointed it to the host application's exe, which is a GUI XML editor, it merely opened the interpreterInfo.py file in the editor as a text file.

    When I closed the host GUI application, an error dialog popped up (see attached image) and included the log text,

    "See error log for details. No output was in the standard output when trying to create the interpreter info.
    The error output contains:>>'import site' failed; use -v for traceback".

    Regards,

    John

     
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.