Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / January 2005

Tip: Looking for answers? Try searching our database.

eclipse debugger: displaying variables in hex

Thread view: 
coltrane - 29 Dec 2004 23:56 GMT
how can I view variables while debugging in hex format?
I didn't see any settings in the debug preferences.
thanks for the help

john
Robert Klemme - 31 Dec 2004 12:47 GMT
> how can I view variables while debugging in hex format?
> I didn't see any settings in the debug preferences.
> thanks for the help

AFAIK there's not standard way.  You could write a converter that does this
and use that in the debug view AFAIK.  Alternatively you could write a
method in some utility class that does conversion int2hex for example and
add an expression like this "YourUtility.int2hex( yourVar )".

Kind regards

   robert
Thomas Bielagk - 31 Dec 2004 17:52 GMT
"coltrane" <tendengarci@yahoo.com> wrote in news:1104364619.848870.20200
@f14g2000cwb.googlegroups.com:

> how can I view variables while debugging in hex format?
> I didn't see any settings in the debug preferences.
> thanks for the help
>
> john

There is an option for primitive Types (int, long,...).
Switch to Debug perspective.
In the Variables view click the "menu" item (black triangle item) and
select "Java Primitives...".
In the Dialog you can choose between Hex view, Ascii view and unsigned
(for byte).

--thomas
coltrane - 07 Jan 2005 13:47 GMT
thanks to both.
as a person moving from an MS environment to eclipse/java I am quite
surprised at the funcitonality and usability of eclipse.

cheers


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.