Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: tiwag on January 02, 2007, 05:09:09 pm

Title: debug-layout bug
Post by: tiwag on January 02, 2007, 05:09:09 pm
i've set up two layouts for normal & debugging, which can be set in

Settings->Compiler and Debugger->Debugger->Layout when session starts / ends

this worked since months without problems, but since a few revisions, the debug-layout is always initialized to the CB default layout,
even when the debug-layout is defined properly.

CB rev 3447, Win-XP

brgds,
--tiwag
Title: Re: debug-layout bug
Post by: Revvy on January 02, 2007, 07:14:04 pm
I've had the same problem, but not every time I go into debug.  It's intermittent, and really annoying, because it just takes the default layout and moves everything around really strangely.

Edit: I'm pretty sure I have a patch for this behaviour, except that my compiles are crawling so I haven't been able to test it yet =(

Edit: Patch is here!  https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1794&group_id=5358 (https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1794&group_id=5358)
Title: Re: debug-layout bug
Post by: killerbot on January 03, 2007, 10:14:48 am
@Tiwag : can you confirm this patch works ?

[this was indeed a side effect of some code fixing another bug]
Title: Re: debug-layout bug
Post by: mandrav on January 03, 2007, 10:30:08 am
@Tiwag : can you confirm this patch works ?

[this was indeed a side effect of some code fixing another bug]

Yes, it works fine. I don't know who changed it before but with this patch things (regarding layouts) go back to normal.
Title: Re: debug-layout bug
Post by: tiwag on January 03, 2007, 11:24:15 am
@all
yes, the above patch works fine for me too  :D

thanks for helping,
--tiwag
Title: Re: debug-layout bug
Post by: killerbot on January 03, 2007, 12:50:16 pm
patch applied.

It was a side effect of a bug fix.
Info :
- https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1750&group_id=5358
- http://forums.codeblocks.org/index.php?topic=4750.0