 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
CDX Guest
|
Posted: Wed Mar 02, 2005 3:24 am Post subject: Debugging in Sun ONE Studio 5 |
|
|
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
|
Posted: Wed Mar 02, 2005 9:04 am Post subject: Re: Debugging in Sun ONE Studio 5 |
|
|
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
|
Posted: Thu Mar 03, 2005 12:44 am Post subject: Re: Debugging in Sun ONE Studio 5 |
|
|
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
|
Posted: Thu Mar 03, 2005 7:37 am Post subject: Re: Debugging in Sun ONE Studio 5 |
|
|
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 |
|
 |
|
|
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
|
|