I implemented what the title says.
It's cool to see it in action but an initial manual configuration must be done by the user.
So here I will describe the two steps you have to take to make it work.
What has been added, is two text boxes in "Settings->Debugger" where you can type the names of two layouts:
1) The layout to switch to when the debugging session starts
2) The layout to switch to when the debugging session ends
If one of these is empty (the default), no layout switching takes place in the respective session point (start/end).
So, how do we glue these together? Fear not. It only takes two steps
- If you haven't done so already, create a layout for debugging. I.e. open the watches window, put it where you want, open the callstack, put it where you want, etc. You get the point. Open any windows you like and arrange them as you like. When you 're happy, click "View->Layouts->Save current". Name it as you like (I suggest "Debugging" ).
- Go to "Settings->Debugger". Type in the first layout box (debugging start) the name of the layout you saved, e.g. "Debugging" (no quotes). Then type in the second layout box (debugging end) "Code::Blocks default" (or any other you might have created).
Now start a debugging session and enjoy