Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to show chars as ints in debugger?
How to show chars as ints in debugger? [message #559479] Thu, 16 September 2010 18:11 Go to next message
Chris is currently offline ChrisFriend
Messages: 97
Registered: July 2009
Member
Sometimes I have to examine the individual characters in a String in the
debugger. If the character happens to be something that doesn't display,
like a space or a tab, I need to see the decimal or hex code for it to
know what it is exactly.

How can I modify the debugger display to show me hex codes as well as
characters when a variable is of type char?
Re: How to show chars as ints in debugger? [message #559480 is a reply to message #559479] Thu, 16 September 2010 18:15 Go to previous messageGo to next message
Chris is currently offline ChrisFriend
Messages: 97
Registered: July 2009
Member
On 9/16/2010 1:11 PM, Chris wrote:
> Sometimes I have to examine the individual characters in a String in the
> debugger. If the character happens to be something that doesn't display,
> like a space or a tab, I need to see the decimal or hex code for it to
> know what it is exactly.
>
> How can I modify the debugger display to show me hex codes as well as
> characters when a variable is of type char?

Never mind: click the menu arrow in the Variables tab, Java -> Java
Preferences -> Debug -> Primitive Display -> Display Hexadecimal Values
Re: How to show chars as ints in debugger? [message #1690590 is a reply to message #559480] Sun, 29 March 2015 16:57 Go to previous message
Gary Worsham is currently offline Gary WorshamFriend
Messages: 176
Registered: September 2013
Senior Member
Thank you!!!
Previous Topic:Glassfish 4.0 and Kepler
Next Topic:Migrating from a customized eclipse version to Lunar
Goto Forum:
  


Current Time: Thu Apr 25 23:37:12 GMT 2024

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

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

Back to the top