While working on this:
http://forums.codeblocks.org/index.php?topic=3193.0 I found out another two issues with the debugger:
1.) If in a project the file is provided with the full path name (just as it is the case with the console a template) andf the full path name is in the project (*.cbp) file, the debugger will never break at it's breakpoints. This may also be related to the dfact that in the path to the file is a space. I have attached a zip file which contains 2 projects: "huhu" will
not stop at breakpoints and "hihi" which is quite the same
will break at a breakpoint. Please not that for reproducing this you might have to adopt the project file of "huhu" becasue the path as in the project file does most likely not exists on "your" machine. Anyway, if you compare both project files you'll get the point.
2.) Consider you have a single (hello world) project loaded and placed a breakpoint somewhere in the code. Now do the following:
- Run the debugger until it's stopped at the breakpoint
- Close the file in the editor
- Close the project in C::B
-> Notice the debugger is still active, but you have no more projects open.
All buttons are greyed out, C::B is in an "undefined state", you cannot even stop the debugger. This is because closing the project also disables the "debugger" buttons and menus.
With regards, Morten.
[attachment deleted by admin]