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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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