Author Topic: different layouts automaticly  (Read 3411 times)

Offline MoonKid

  • Almost regular
  • **
  • Posts: 180
different layouts automaticly
« on: April 05, 2006, 11:56:16 am »
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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: different layouts automaticly
« Reply #1 on: April 05, 2006, 12:01:41 pm »
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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: different layouts automaticly
« Reply #2 on: April 05, 2006, 12:07:21 pm »
  • 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.

Granted it could be made a little easier, it should work ok then.
Be patient!
This bug will be fixed soon...