I have worked out an example that shows there is a problem setting breakpoints in a function that has a header only implementation. Also it is important to note that CodeLite is messing up setting the breakpoints when you have the starting path to the '#include' as an additional compiler include path.
It works from the commandline (gdb.exe) and in Code::Blocks.
Here are some things I found:
- Only set a breakpoint in the file 'wxtools\wx\serialization\combobox.h'. It will not set the breakpoint.
- If you set a breakpoint in a cpp (headerbrk.cpp) that includes the header then it will set the breakpoint properly.