Debugging embedded python

Miki Tebeka miki.tebeka at zoran.com
Mon Jul 4 09:10:01 EDT 2005


Hello Fotis,

> I linked it to python24.lib (under eclipse cdt/win2k) and it compiles,
> links and runs fine.
> The problem is when I try to debug it (gdb). I cannot go single
> stepping into the code, more than one threads seem to be running, I get
> messages like "No source file named d:/workspace/pyTest/main.cpp", and
> if I set a breakpoint to the function Fotis_root then I cannot see any
> variables. In fact I cannot see no stack, no registers nothing, within
> this function!
I *think* that you need to tell GDB where are the source directories (try
"help dir")

HTH.
--
------------------------------------------------------------------------
Miki Tebeka <miki.tebeka at zoran.com>
http://tebeka.bizhat.com
The only difference between children and adults is the price of the toys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 193 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050704/89641143/attachment.sig>


More information about the Python-list mailing list