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.

Marc



________________________________________
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

Hi.

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
Version: 1.0.0.201006141710
Build id: 201006141710

thanks.
sorry my english.
Att: Bruno
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top