Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: exchg on April 26, 2017, 10:34:21 pm

Title: save disassemble option 'mixed mode'
Post by: exchg on April 26, 2017, 10:34:21 pm
hi to all,
is it possible to save 'mixed mode' flag on disassembly window to be always on and do not toggle it manually every time?
Title: Re: save disassemble option 'mixed mode'
Post by: BlueHazzard on April 27, 2017, 12:09:56 am
i don't think this is possible at the moment.
Can you add a ticket on sourceforge, so maybe ai can make a patch at the weekend..

Title: Re: save disassemble option 'mixed mode'
Post by: exchg on April 27, 2017, 12:09:42 pm
thanks a lot, added as feature request on SF
Title: Re: save disassemble option 'mixed mode'
Post by: BlueHazzard on April 27, 2017, 08:06:05 pm
Should this be a per project setting, or a global setting?
Title: Re: save disassemble option 'mixed mode'
Post by: oBFusCATed on April 27, 2017, 08:40:39 pm
Global setting. C::B should just remember the value of the checkbox in the config.
We don't have a way to store per-project settings that are not part of the cbp file easily.
Title: Re: save disassemble option 'mixed mode'
Post by: exchg on April 27, 2017, 08:53:57 pm
Should this be a per project setting, or a global setting?

i think that global will be fine.

ah, the second question, is it possible to save selected dump size on memory dump window?
because it is annoying to select new size every time. Or maybe i can just select it myself from config?
because i think that 32 byte is not enough especially on 64 bit systems.
Title: Re: save disassemble option 'mixed mode'
Post by: oBFusCATed on April 27, 2017, 11:24:56 pm
It is possible and easy to do. 32 bytes is the default because larger sizes will slow debugger stepping.
Title: Re: save disassemble option 'mixed mode'
Post by: exchg on April 28, 2017, 09:10:08 am
should i create ticket ?
Title: Re: save disassemble option 'mixed mode'
Post by: oBFusCATed on April 28, 2017, 09:20:59 am
Just modify the original one or post a comment.