A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
IDEs, Version Control and other tools
Hex in Eclipse Debugger
Joined: Jan 12, 2004
Aug 30, 2004 17:41:00
Is there a way to view an int or char primitive in its hexadecimal representation in the Eclipse debugger?
SCJP - 8/31/2004
Joined: Dec 19, 2002
Sep 01, 2004 11:45:00
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:
subject: Hex in Eclipse Debugger
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
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014