AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debugging in Sun ONE Studio 5

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.setup
View previous topic :: View next topic  
Author Message
CDX
Guest





PostPosted: Wed Mar 02, 2005 3:24 am    Post subject: Debugging in Sun ONE Studio 5 Reply with quote



I'm new to Java and am working with the debugger in the Sun ONE Studio 5
IDE. I'm looking at the local variable window and see a variable called
props (which my code created using new Properties(). Why for it's value
do I see #78 instead of something like the class name or such? I guess I
would expect something more than #78.


CDX
Back to top
Roland
Guest





PostPosted: Wed Mar 02, 2005 9:04 am    Post subject: Re: Debugging in Sun ONE Studio 5 Reply with quote



On 2-3-2005 4:24, CDX wrote:

Quote:
I'm new to Java and am working with the debugger in the Sun ONE Studio 5
IDE. I'm looking at the local variable window and see a variable called
props (which my code created using new Properties(). Why for it's value
do I see #78 instead of something like the class name or such? I guess I
would expect something more than #78.


CDX
Don't know Sun ONE Studio, but it sounds like your code has been

compiled without local variable information. Have a look at the
compilation options of Sun ONE Studio.
[For javac it is controlled with the -g commandline option, see
<http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html#options>.]
--
Regards,

Roland de Ruiter
___ ___
/__/ w_/ /__/
/ /_/ /

Back to top
CDX
Guest





PostPosted: Thu Mar 03, 2005 12:44 am    Post subject: Re: Debugging in Sun ONE Studio 5 Reply with quote



Roland,
Have you worked with the NetBeans IDE? I'm wondering what IDE is best
that I can get for free. (At least for now until I get going).

Thanks,
Chip


Roland wrote:

Quote:
On 2-3-2005 4:24, CDX wrote:

I'm new to Java and am working with the debugger in the Sun ONE Studio
5 IDE. I'm looking at the local variable window and see a variable
called props (which my code created using new Properties(). Why for
it's value do I see #78 instead of something like the class name or
such? I guess I would expect something more than #78.


CDX

Don't know Sun ONE Studio, but it sounds like your code has been
compiled without local variable information. Have a look at the
compilation options of Sun ONE Studio.
[For javac it is controlled with the -g commandline option, see
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javac.html#options>.]
Rolan


Back to top
Roland
Guest





PostPosted: Thu Mar 03, 2005 7:37 am    Post subject: Re: Debugging in Sun ONE Studio 5 Reply with quote

On 3-3-2005 1:44, CDX wrote:

Quote:
Roland,
Have you worked with the NetBeans IDE? I'm wondering what IDE is best
that I can get for free. (At least for now until I get going).

Thanks,
Chip

Nope. Well, I had a look at it for evaluation purposes. For 'normal'

development I'm using Eclipse. It's free:
<http://www.eclipse.org/>
<http://www.eclipse.org/downloads/>
--
Regards,

Roland de Ruiter
___ ___
/__/ w_/ /__/
/ /_/ /

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.