[Bug 73666] Variables can not be displayed in hexadecimal number format in the watch window

John Birch jbb at kdevelop.org
Wed Jan 28 19:42:09 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=73666      




------- Additional Comments From jbb at kdevelop.org  2004-01-28 19:40 -------
As a workaround use
/x varname
in the watch window. This used to be documented somewhere.

There are two parts to fixing this. 
1/ global setting using
	set radix-output 16 (?hmmm - check this)

just send this command at startup if the user wants this settings. Add this option to the gdb settings. Probably a couple of hours work. Anyone?

2/ individual settings
Right click on variable in variable window (watch or local) and select the format.
Then hook into the getExpandedItems method (I forget the actual name) and use the gdb format options to get the format you want. Needs to store the format on the item as well.
A bit more work but not huge.

I don't know when I can do this (I've been keeping quiet) but anyone is welcome to submit the changes.




More information about the KDevelop-devel mailing list