User forums > Using Code::Blocks

Keeping debug windows open

<< < (2/2)

oBFusCATed:

--- Quote from: eddyq on June 06, 2013, 10:52:56 pm ---In the debugger you can turn on debug windows. But if you stop the debug session and start the debug again then the windows are no longer turned on.

Start a debug session by clicking on the red arrow. Select Debug-->Debugging Windows and you will see a list of windows that have check boxes next to them. Click one (e.g., Breakpoints). You will see all of your breakpoints. Now stop the debug session by clicking on the red x. Now start the session again by clicking on the red arrow. Select Debug-->Debugging Windows and you will see that your check mark is now off.

--- End quote ---
Do you have View->Perspective->Debugging? Do C::B switch automatically to it when you start debugging?
What version of C::B are you running?



--- Quote from: eddyq on June 06, 2013, 10:52:56 pm ---I can't do a screenshot because I'm using Virtual Box with a Linux system and I don't know how to do a screen shot in Linux. I'm sending this post using Windows.

--- End quote ---
Press print screen or use gimp -> file -> create -> screen shot

eddyq:
For View->Perspective->Debugging I have GDB/CDB debugger:default. Yes, when I start debugging it switches to the debugger. I'm running 12.11

Jenna:

--- Quote from: eddyq on June 07, 2013, 01:10:58 am ---For View->Perspective->Debugging I have GDB/CDB debugger:default. Yes, when I start debugging it switches to the debugger. I'm running 12.11

--- End quote ---
If you change the perspective, while it is active (the debugger is running or you switched to it manually) and switch back to another perspective (agian automatically at thje end of a debugging seesion, manually or on close of C::B) you should get an annoying dialog, that asks you to save the changed perspective.
You might have turned this off (for this dialog).
To turn it on again, you can go to "Settings -> Environment -> Disabled dialogs" to turn it on again.
You can also save the perspective manually.

eddyq:
The only dialogs I have disabled are:
- Dictionaries needed!
- Layout changed
- Project closed while debugging message
- Rebuild project
- Rebuild workspace

So I checked "Layout changed". That didn't give a dialog.

But learning about the perspective you are talking about I found out how to "fix" my problem. All I have to do after I turn on my "debug windows" is to go to View->Perspectives and click on "Save current".

So thanks for your help.

Eddy

Navigation

[0] Message Index

[*] Previous page

Go to full version