Text archives Help
- From: "James Bigler" <
>
- Cc:
- Subject: [Manta] Re: Debugging C++ code/shlib in wxManta.py
- Date: Tue, 17 Jun 2008 12:31:20 -0600
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=oYMaBgCXFOnW/8+vfqtxAS5/kCk6RcCCYDTDCskrIjJxhdVj7fN0ZSCoFgK5PM2kWx q7a2EJIBFcD8AWSZaLoXVQYI5gPKHTFOx/qIFs/ihhkQWTrfR2mOT6bKJvHJKIhhC4pD 3IwVXDjBFVURs47LrtaHYpV98rocM6rGnY8W8=
gdb isn't good about stopping in breakpoints by function name. Set
them using file:linenumber notation ( MyFile.cc:230 ).
Try adding "gdb --args" in front of the command used to run manta.
After gdb starts you can execute "run".
Another alternative is to see what the process number is and use the
"attach <PID>" after starting a plain gdb.
James
On Tue, Jun 17, 2008 at 10:19 AM, Li-Ta Lo
<
>
wrote:
>
Hi,
>
>
What is the correct way to debug C++ code while running Manta as
>
a python script? I tried use "gdb /usr/bin/python" and
>
"b Manta:Somefunction". The breakpoint is reached but the program
>
is not stopped.
>
>
Ollie
>
>
Archive powered by MHonArc 2.6.16.