help req setting breakpoints in gdb

sanam singh sanamsingh at hotmail.com
Sat May 22 05:50:15 EDT 2010


Hi,
I am using wingide to debug my python code. To debug my c code
when i attach wingide to ddd. It is all done successfully. However when
i try to set a beak point in gdb i get following error :


(gdb) break /home/sa/mygr/gnuradio-core/src/lib/general/gr_gr_deinterleave.cc:13
No source file named /home/sa/mygr/gnuradio-core/src/lib/general/gr_gr_deinterleave.cc.

however the file really exists there.
Secondly, when after attach i simply give the command :
(gdb) break 13
Breakpoint 4 at 0x805a0f5: file ./Modules/python.c, line 13.

where as i am running my program from a different folder.
Please help me.
Cheers.
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100522/3f717d84/attachment.html>


More information about the Python-list mailing list