Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB - Breakpoint never trigered
GDB - Breakpoint never trigered [message #188517] Fri, 30 March 2007 12:05
Eclipse UserFriend
Hi all,

I would wish to use gdb under eclipse/cdt.

My configuration:
Eclipse 3.2.1
CDT 3.1.2
MinGW 5.1.3
Mingw32-make 3.81
GDB 5.2.1

OK. I have write a plugin which makes it possible to create
managedprojects and some other features. Many thanks to Derek for that,
which helped me much. :-)
The managed project consists in creating a Window's DLL which is used by a
front-end application.
All is ok. The front-end uses my DLL.

Now, I wish to use GDB for the development of the DLL.
I do not find a functional configuration. I tested several versions of
GDB (all versions greater than 5.2.1 crash when a breakpoint is trigered),
I tested all the options offered by the Debug->C/C++ Local
Application->... dialog boxes.

I do not have the symbols of the front-end. I thus use a .gdbInit file to
place a breakpoint in the DLL:

> dll-symbols my.dll
> b my.cpp: 55

On the Debug configuration, "Main" tab, I indicate the frontend.exe.
On the "debugger" tab, I indicate the GDB command file (.gdbInit), and I
tested all the choices.
I got a dialog box : "Error stopping at main.... Continue?"
OK, there is no symbol for the front-end... I answer yes.
The front-end run...
The DLL run...
But the breakpoint is never trigered.

Any idea?
--
Philippe
Previous Topic:ID of C/C++ projects view
Next Topic:Bad binary parser for AIX
Goto Forum:
  


Current Time: Sun Jul 27 22:21:09 EDT 2025

Powered by FUDForum. Page generated in 0.06218 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top