Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] break point problem

When you set your breakpoints, are your callback already loaded in GDB?
If not, then the breakpoints will not be set.
What you can do is wait until the code is loaded and then setting your breakpoints.
Do do that, right after you start your program, type the following in the gdb console

set stop-on-solib-events 1

or you can fallback to the older GDB integration available with CDT, which will
allow you to set breakpoints on code that is not yet loaded.
To do that, in your launch window, at the bottom there is hyperlink
to choose the debugger integration.  You can click on it and choose
the "Standard..." one.

Note that this feature is now working for the next release of CDT.


From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Bruno Romano [bruno@xxxxxxxxxxxxxxxx]
Sent: August 31, 2010 8:39 PM
To: CDT General developers list.
Subject: [cdt-dev] break point problem


I have this error.
- Breakpoint attribute problem: installation

I'm using boost::asio with asynchronous calls, but all my callbacks do
not stop at breakpoint, but the rest of the application. What can I do?

I'm using ubuntu 8.10

g++ (Ubuntu 4.4.1-4ubuntu9) 4.4.1

GNU gdb (GDB) 7.0-ubuntu

Version: Helios Release
Build id: 20100617-1415

Eclipse CDT P2 Customizations for SDK installation
Build id: 201006141710

sorry my english.
Att: Bruno
cdt-dev mailing list

Back to the top