This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hex in Eclipse Debugger

 
Keith Tingle
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to view an int or char primitive in its hexadecimal representation in the Eclipse debugger?
 
David Hibbs
Ranch Hand
Posts: 374
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic