Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Change debug register display to hexadecimal?
Change debug register display to hexadecimal? [message #543536] Tue, 29 June 2010 17:30 Go to next message
Joe is currently offline JoeFriend
Messages: 5
Registered: July 2009
Junior Member
Is it possible to change the display format of the registers like you can for variables? Some are in hex, most are in decimal. Hex would be better for me right now...
Re: Change debug register display to hexadecimal? [message #543654 is a reply to message #543536] Wed, 30 June 2010 08:29 Go to previous messageGo to next message
John McCabe is currently offline John McCabeFriend
Messages: 228
Registered: July 2009
Senior Member
On Tue, 29 Jun 2010 13:30:49 -0400, Joe <dupre@avab.com> wrote:

>Is it possible to change the display format of the registers like you can for variables? Some are in hex, most are in decimal. Hex would be better for me right now...

Window->Preferences->C/C++->Debug

In "Opened view default settings" change "Default register format:" to
"Hexadecimal".

Should probably do it if you want it to be default.
Re: Change debug register display to hexadecimal? [message #543655 is a reply to message #543536] Wed, 30 June 2010 08:34 Go to previous messageGo to next message
John McCabe is currently offline John McCabeFriend
Messages: 228
Registered: July 2009
Senior Member
On Tue, 29 Jun 2010 13:30:49 -0400, Joe <dupre@avab.com> wrote:

>Is it possible to change the display format of the registers like you can for variables? Some are in hex, most are in decimal. Hex would be better for me right now...

Also, if you right click on the register value, the context menu has a
"Format" option where you can set it to Hexadecimal.
Re: Change debug register display to hexadecimal? [message #742244 is a reply to message #543536] Thu, 20 October 2011 10:08 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 3
Registered: October 2011
Junior Member
Hello,

I would like to reopen this topic. I use Eclipse for ARM development. My version is
Version: Indigo Release
Build id: 20110615-0604
and CDT version 201106081058

I tried what people had recommended here but without success. Screen-shot is attached. I even have no right-click menu with "Format" option on the registers' values.

Can anybody help me what is wrong?

Thank you in advance.
index.php/fa/4437/0/
Re: Change debug register display to hexadecimal? [message #814505 is a reply to message #742244] Tue, 06 March 2012 14:33 Go to previous messageGo to next message
Szymon Rapala is currently offline Szymon RapalaFriend
Messages: 3
Registered: March 2012
Junior Member
Hello

I have the same problem as vaclavpe.
Does anybody know how to change display format when there is no Format Display menu after "righ click" and settings in preferensces seems to be useless??

Thanks in advance
Simon.

Re: Change debug register display to hexadecimal? [message #815324 is a reply to message #814505] Wed, 07 March 2012 14:09 Go to previous messageGo to next message
Missing name Missing name is currently offline Missing name Missing nameFriend
Messages: 3
Registered: October 2011
Junior Member
Hi Szymon, which version and build did you try ? The same as I tried ?
Re: Change debug register display to hexadecimal? [message #816726 is a reply to message #815324] Fri, 09 March 2012 07:29 Go to previous messageGo to next message
Szymon Rapala is currently offline Szymon RapalaFriend
Messages: 3
Registered: March 2012
Junior Member
No Message Body
Re: Change debug register display to hexadecimal? [message #816733 is a reply to message #816726] Fri, 09 March 2012 07:39 Go to previous messageGo to next message
Szymon Rapala is currently offline Szymon RapalaFriend
Messages: 3
Registered: March 2012
Junior Member
Hi Missing name

Version: Indigo Service Release 2
Build id: 20120216-1857
CDT: 8.0.2.201202111925

It's probably quite new software because I downloaded all stuff few days ago.
No hexadecimal display is very anoying...

Szymon

[Updated on: Fri, 09 March 2012 07:40]

Report message to a moderator

Re: Change debug register display to hexadecimal? [message #990419 is a reply to message #543536] Wed, 12 December 2012 12:26 Go to previous messageGo to next message
Carl Williams is currently offline Carl WilliamsFriend
Messages: 2
Registered: December 2012
Location: UK
Junior Member
I have the exact same problem with the version of Eclipse used in the CodeSourcery CodeBench release (with CDT 8.1.0.394665) - preferences setting appears not to work very well - some registers now in hex, but seemingly according to some attempt to "intelligently" decide how to display them - and, more annoyingly, no right-click context menu "format" option (this option has been present on other Eclipse spins, such as CCS).

Anyone had this problem who knows how to fix it - in particular, how to recover the context menu "format" functionality?

Thanks!

- Carl
Re: Change debug register display to hexadecimal? [message #990451 is a reply to message #543536] Wed, 12 December 2012 14:45 Go to previous message
Carl Williams is currently offline Carl WilliamsFriend
Messages: 2
Registered: December 2012
Location: UK
Junior Member
Answering my own "me too", which hasn't cleared moderation yet: turns out the CodeSourcery version, at least, has an inconspicuous down-facing-triangle drop-down menu icon third from the right in the button bar of the variable/register/breakpoint pane, between the "minimize" and "pin to debug" items. This has two sub-menus, Layout and Number Format. Number Format in this menu actually works (unlike the one in the Window...Preferences...C/C++...Debug pane.)

index.php/fa/12678/0/

It changes all the registers, or variables, or whatever, but in the absence of the context menu "format" item, it at least saves a measure of frustration.

- Carl
Previous Topic:GDB: No symbol table is loaded. Use the "file" command.
Next Topic:.cproject file format
Goto Forum:
  


Current Time: Thu Apr 18 02:18:56 GMT 2024

Powered by FUDForum. Page generated in 0.02309 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top