User forums > Using Code::Blocks
How do you use the debugger?
killerbot:
did you use a lib or a dll project. Not sure if it aplies also for a lib, but certainly a dll.
When you put a breakpoint in a source file, which is part of a dll or a lib, at first the breakpoint is pending, and the file is not founf. That not found means, the breakpoint was not found in the sourcefiles of the main app. The dll was not loaded yet, but once the dll is loaded and the flow of the program passes your breakpoint it will stop there.
mandrav:
You can go to "Settings->Compiler/debugger->Debugger" and check "Show debugger's debug log". This will show the detailed debugger's log which contains the complete conversation between the debugger and C::B.
If you still have problems, post this log too.
Michael:
I have had one time this problem (in Windows anyway, but it should be IMHO the same in Linux). The cause was that I have forgotten to compile my project with debugging symbols. Once added this option to the compiler options, gdb worked :D.
Michael
Navigation
[0] Message Index
[*] Previous page
Go to full version