As the title says, how can I debug a Win32-DLL? :(
I had no problem debugging a executable, but when I put Breakpoint into my DLL-code and activate the option "Produce debugging symbols [-g]" in the compiler settings window, the code does not stop at the breakpoint.
I even have copied the host application into the folder where my DLL is produced.
thx
pitti platsch
Quote from: pitti platsch on December 17, 2006, 11:59:30 AM
As the title says, how can I debug a Win32-DLL? :(
You might experience the bug described here:
http://forums.next.codeblocks.org/index.php?topic=4368.msg37018#msg37018
There I have posted a partial work-around, too. This is under investigation currently.
Quote from: pitti platsch on December 17, 2006, 11:59:30 AM
pitti platsch
With regards, Schnatterrinchen... sorry... Morten. ;-)
Oh, ok I think I have understood the workaround, but I don't want to compile the changed debuggerstate.cpp for own use because then I would not be able to use later nighly builds.
Instead, I wait until the problem is fixed officially.
pitti platsch :D
Ps: Why was this else-block included in debuggerstate.cpp, if it does not work?
Quote from: pitti platsch on December 17, 2006, 03:25:33 PM
Ps: Why was this else-block included in debuggerstate.cpp, if it does not work?
That's exactly the question. To be honest: I don't know. It actually *should* work and it is a good solution to use relative path's there, but the debugger seems not to recognise it for some obscure reason.
With regards, Morten.