Subject: Re: [boost] Is there a way to debug python C++ extensions in Eclipse on Linux?
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2011-01-17 08:05:07
Raul Durand wrote:
> Hi guys,
> Is there a way to debug python C++ extensions in Eclipse on Linux?
> I want to debug a Python script that imports my module mmm.so and be able to
> step into my C++ code when necessary using Eclipse.
> I installed CDT and PyDev and tried different configurations but nothing
> Do I need to create different projects? a PyDev project and a CTD project?
> Do I need to recompile Python with debug symbols?
> Is there another tool than Eclipse to achieve this?
Don't know about eclipse, but what I do is:
1. run gdb on /usr/bin/python
2. set bp in the source of the module. gdb will ask about
setting bp in module to be loaded in future (or something to that
effect), I say yes.
3. run program