User forums > Using Code::Blocks

different layouts automaticly

(1/1)

MoonKid:
Is it possible to use two layouts automaticly?

While debugging I need the watchlist, callstack and things like that. But If I am not debugging I do not need this windows.

Can C::B handle this automaticly?

Or should I submit a feauter.

thomas:
You might have made a forum search for debugger switch layout.

Anyway... yes it is possible. You just have to tell the debugger which layout to switch to in the settings.

mandrav:
[*] Create a layout like you want it for debugging and save it (View->Layouts->Save current).
[*] Switch to the default layout again (View->Layouts->Code::Blocks default).
[*] Go to "Settings->Compiler & debugger", in the debugger options, and type the name of the layout you saved above in the "Layout when session starts" box.
[*] Type "Code::Blocks default" in the "Layout when session ends" box.
[/list]

Granted it could be made a little easier, it should work ok then.

Navigation

[0] Message Index

Go to full version