User forums > Help
Breakpoint in a static library
(1/1)
orefa:
Programming under Windows, I tried to set a breakpoint in a static library that I link to my program. The debugger appears to ignore it. Is it possible to do this at all? I am able to jump through all the library code but just not break anywhere, maybe due to technical limitations of the debugger, or maybe something else I have not identified yet.
thomas:
If you have a recent build of Code::Blocks (newer than 2-3 weeks), this should actually work really fine.
I haven't ever tried myself, but it reportedly works by simply setting the breakpoint anywhere and starting (one exception: breakpoints inside constructors in dlls don't work yet).
orefa:
Thanks for the info Thomas. I use RC2 which I think is older than that so I'll live with it for now. I'll try again after the next release.
Navigation
[0] Message Index
Go to full version