User forums > Using Code::Blocks

Watch Window Display Format

(1/2) > >>

DaveHarper:
I'm looking at switching to Code::Blocks from my current IDE because that one won't allow me to set the display format of individual variables in the watch window.  I didn't find anything in the Code::Blocks manual regarding this but I did find a similar request (msg 1537) from 2005 that indicated it would be implemented soon.  Has this been done?  I've tried right-clicking on the variable/value in the window but there are no options for setting the format.  I've also gone through the various Settings and anything else I can think of but haven't found anything so far that would let me control this.  For me, this is a show-stopper on any IDE - I find I spend more time with a programmers calculator doing format conversions than I do debugging my program.

Thanks,
Dave

P.S.  I should mention that when I right-click on a variable in the watch window I get a drop-down menu with a number of entries, but all are greyed out except for Delete All at the bottom.  There is a Properties option that looks promising if I could access it but all variables in the watch window give me the same disabled drop-down options.

oBFusCATed:
Right click on a watch -> Properties?

DaveHarper:
After doing a lot of poking around I've found that I cannot alter the Local variables as shown in the Watches window.  However, I can add the same exact variable separately and, once I do that, I can set the display format.  Sheesh.

oBFusCATed:
Yes, local variables and function arguments doesn't support formatting at the moment. With the current pluign I don't think it is even possible.

DaveHarper:

--- Quote from: oBFusCATed on December 02, 2018, 10:20:56 pm ---Right click on a watch -> Properties?

--- End quote ---
The problem is that the Properties options is disabled (greyed out).  However, I have found a workaround.

Navigation

[0] Message Index

[#] Next page

Go to full version