I'm developing on Linux with the latest Eclipse/CDT, gdb 6.8-27.el5 and
gcc 4.1.2.
I'm trying to get comfortable building and debugging a large C++ project
that consists of a number DLLs, many of them loaded dynamically. Very
little of the code is in the main executable.
Is it possible in CDT's debugger to set breakpoints in DLLs prior to them
being loaded? I have read some news group posts that suggest that this
should be possible on Linux but I can't seem to make it work. I can set
breakpoints in each of my DLLs, but only after they have been loaded.
Prior to that, I get errors (which makes sense) but the breakpoints don't
resolve later when the DLL containing the breakpoint is loaded. It sounds
like maybe this should work...that gdb can reapply the breakpoints
whenever a DLL loads. Is there any way to get this to work in CTD?