User forums > General (but related to Code::Blocks)

Different formats are indistinguishable

(1/4) > >>

smallB:
Guys, during debugging, in watches window:
a) there is no way to tell if value of variable is displayed in bin, oct, hex, dec.
b) this is just suggestion, but I think it could be nice if those colums in watches were named, like for example:
id , value, type.

Is there any patch which would allow to make those formats distinguishable in watches window, and does anyone of you finds it bit inconvenient and worth changing/updating/improving?

Jenna:
Right click the value and chose properties from the context menu.

smallB:

--- Quote from: jens on November 25, 2012, 02:45:09 pm ---Right click the value and chose properties from the context menu.

--- End quote ---

Hi, thanks for your reply. I know I can do it. The problem I have is this scenario:

a | 10111 | int
b | 10111 | int

Which one of them is binary and which in decimal? Is any of them in dec/bin? You simply cannot tell. And if you have many of them and some of them are set to be display in bin and some of the are in dec, then you simply are lost and each and every time you have to check by right click and selecting Properties. This is just bad and counter productive. That's what I think anyway.

oBFusCATed:

--- Quote from: smallB on November 25, 2012, 02:25:45 pm ---Guys, during debugging, in watches window:
a) there is no way to tell if value of variable is displayed in bin, oct, hex, dec.

--- End quote ---
Probably doable, but it will require some play around with wxpropgrid...


--- Quote from: smallB on November 25, 2012, 02:25:45 pm ---b) this is just suggestion, but I think it could be nice if those colums in watches were named, like for example:
id , value, type.

--- End quote ---
It is possible, but then a row of text will be wasted. So, I'm against such change. Also the columns are pretty obvious :)

smallB:

--- Quote from: oBFusCATed on November 25, 2012, 03:53:02 pm ---
--- End quote ---
It is possible, but then a row of text will be wasted. So, I'm against such change. Also the columns are pretty obvious :)
[/quote]

Then I propose to make this optional. If one doesn't mind to have one row of text wasted this could be on. On the other hand if someone minds it, then this could be off. What do you think?

Navigation

[0] Message Index

[#] Next page

Go to full version