How do I set radix for mouse over?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I set radix for mouse over?

2,515 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by BetoGreen on Mon Aug 13 11:06:30 MST 2012
In debug mode when I place mouse over a memory reference like LPC_SYSCON->SYSAHBCLKCTRL  it displays the value in decimal.
Anyone know how to change the radix to hex for mouse over events. All my other memory windows display hex

B
0 Kudos
Reply
10 Replies

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Wed Aug 15 08:28:22 MST 2012
I reckon so.

Given the nature of embedded programming it would be nice to always show HEX as well as any other appropriate format. Overall Eclipse does a pretty good job though, way better that IDEs/editors I've used in the past.
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Wed Aug 15 08:10:17 MST 2012
Presumably because it is not 'char' type?
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Wed Aug 15 07:45:16 MST 2012
Yes it's almost the same thing, but mousing over a construct like LPC_SYSCON->SYSAHBCLKCTRL only shows the decimal, not the ASCII/octal.
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Aug 14 09:28:14 MST 2012
Isn't that exactly the same question as BetoGreen asked to start with, to which CodeRedSupport answered that you cannot change it?
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Tue Aug 14 08:06:06 MST 2012
When I mouse over a variable.

[IMG]http://www.robgray.com/temp/octal.png[/IMG]

\372 is in '' and therefore the depiction of the ASCII character for 252, so I guess the "problem" is that the default is to show decimal then ASCII and if the char is not printable that's what you get.

But HEX doesn't get a look in despite the settings.
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Aug 14 07:37:01 MST 2012
Where are you seeing them displayed in Octal? Snapshot?
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Tue Aug 14 07:01:56 MST 2012
Everything is set to Hexadecimal, I never changed it since installing. :confused:
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Aug 14 06:53:30 MST 2012
You must have changed something... Mine are all in Hex. To change
Window, Preferences
C/C++, Debug
and change the defaults.
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by graynomad on Tue Aug 14 05:25:50 MST 2012
Further to this, variables seem to be displayed in decimal and octal, OCTAL! What are we, programming an IBM 370?

Hands up all those who've used octal in the last 20 years :)

I'm guessing the answer will be the same, this is an Eclipse issue eh? Not Code Red's fault.
0 Kudos
Reply

2,507 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Aug 14 00:29:57 MST 2012
Sorry - you can't ....

http://knowledgebase.nxp.com/showthread.php?t=555

Regards,
CodeRedSupport
0 Kudos
Reply