Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=5011203 By: sprocketboy
So ... how do I do this using PyDev from within Eclipse on a Linux machine, again? I have some python control script code that imports a .pyd module. That .pyd module is basically an interface between the python control script and an underlying c/c++ library. I would like to figure out how to use Eclipse/CDT/PyDev to step through the c/c++ source code and see what's going wrong. The c/c++ library is built with debugging symbols. The "Debug as" dialog seems to offer only the following options when you are sitting in a Python script: Python Run Python Unit Test Jython Run Jython Unit Test None of these options allows you to set 'gdb' as the debugger ... in fact, none even has a "debugger" tab. I've also tried creating a "C/C++ attach to Local Application" configuration pointing to the underlying c/c++ library project. I start up the python script that imports the c/c++ library, let it reach a break point in PyDev, then attempt to attach to the (suspended) python process, and I end up with a bunch of Java "Label" error messages. I can use ddd or gdb attach to step through the underlying c/c++ library source code when the python control script is running, so I know this is possible, at least in principle. I just can't seem to figure out how to accomplish the same thing in Eclipse, which has a better interface. Thanks, Dan ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=293649 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Pydev-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-users
