User forums > Help
Cannot change format of local variables in watches while debugging
(1/1)
Totoxa:
I use Codeblocks mostly for embedded development and lots of times I need to view the variables in hexadecimal format, when trying to change the format of the local variables that are automatically added to the watches windows the option is grayed out, so I have to manually add the local variable and change the format.
Why the option is grayed out?
oBFusCATed:
Because we use different gdb commands to print locals (info locals), arguments (info args) and normal watches (print/output).
As far as I know only the print/output commands have special flags to specify formatting of the data.
Totoxa:
--- Quote from: oBFusCATed on August 06, 2018, 08:57:20 am ---Because we use different gdb commands to print locals (info locals), arguments (info args) and normal watches (print/output).
As far as I know only the print/output commands have special flags to specify formatting of the data.
--- End quote ---
Ok, thanks!
Navigation
[0] Message Index
Go to full version