wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Hex in Eclipse Debugger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Hex in Eclipse Debugger" Watch "Hex in Eclipse Debugger" New topic
Author

Hex in Eclipse Debugger

Keith Tingle
Greenhorn

Joined: Jan 12, 2004
Posts: 22
Is there a way to view an int or char primitive in its hexadecimal representation in the Eclipse debugger?


SCJP - 8/31/2004
David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
In the variables, expressions, and monitors views, you'll notice an inverted black triangle in the title bar. Click on it to open a menu.

From that menu, select "Java Primitives..." and a dialog will open prompting for your "Primitive Type Display Options" and giving you 3 options with check boxes:

Display hexadecimal values
Display ASCII character Values
Display unsigned values

Check those boxes you want, and click OK.

You can now see the selected values in addition to the original value in the view.

Very useful at times -- thanks for making me go find it.


"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hex in Eclipse Debugger
 
Similar Threads
Problem running a program practicing with Arrays and Classes
eclipse debugger is dead
"if" thinks false is true
Where can I find videos to learn Eclipse IDE ?
How to pass parameters from one JSP to another JSP