User forums > Using Code::Blocks
CB 13.12 debugging fails
eightbits2015:
Basically I have done all mentioned. The compiler works and GDB seems to work in using the command line activation. I have also specified the directory at the home directory as well. I did install Codelite and it works as expected, stops at the break point, etc. and displays watchs.
I also posted a complete debug log previously.
BlueHazzard:
--- Quote from: eightbits2015 on April 11, 2016, 04:30:58 pm ---Basically I have done all mentioned. The compiler works and GDB seems to work in using the command line activation. I have also specified the directory at the home directory as well. I did install Codelite and it works as expected, stops at the break point, etc. and displays watchs.
--- End quote ---
basically is not exactly, or i tried it....
--- Quote from: eightbits2015 on April 11, 2016, 04:30:58 pm ---I also posted a complete debug log previously.
--- End quote ---
But i want a fresh re build log
Could it be possible that the debugger is running and working and you simply have changed the debugger layout?
--- Quote --- stops at the break point, etc. and displays watchs.
--- End quote ---
This even more gives me the impression that there is only a miss configuration in the perspective...
--- Quote from: BlueHazzard on April 10, 2016, 11:06:11 pm ---7) In your project (I hope you use projects. Debugging is only possible with projects):
8) Make sure you have selected the "Debug" target as described in 4)
9) Hit the rebuild button (blue arrows near the build button or "Build->Rebuild" menu entry
10) set a breakpoint on line
--- Code: --- L +=L; //breakpoint here
--- End code ---
11) Hit the debug button (red arrow, or hit F8)
12) The debugger should stop here. Make sure that you have focus to codeblocks. It is possible that a other window takes the focus from codeblocks away, so after the cmd window opened go straight to the codeblocks window. It should indicate the position of the current executed code with a yellow arrow over the breakpoint symbol. If you see the arrow you are successfully debugging.
13) If you are confused about the look, make sure that you have enabled the debugger view with "View->Perspectives->GCB/CDB debugger:default"
13 a) If you have somehow overwritten this perspective you can show the debugger windows with "Debug->Debugging Windows->Call Stack" etc.
14) If all this does not work post the full rebuild log from step 9)
--- End quote ---
Well i did my best to help you. If you are not willing to do some basics i can't do more...
greetings
Navigation
[0] Message Index
[*] Previous page
Go to full version