Eclipse debugging src.jar [message #192462] |
Wed, 07 February 2007 09:33 |
Eclipse User |
|
|
|
Originally posted by: onali1811.gmail.com
Hi,
I have JDK (i.e debug version of class files) installed on my system.
While debugging my application in Eclipse, I try to put debug breakpoints
inside some .class files (eg. JTable.class) in src.jar.
I am able to step over, in, out etc. within these class files but i cannot
see the values of the local variables.
While I add watch expressions, it gives <variable_name> not resolved.
Is there any way to get the values?
Thanks in advance,
Regards
on ali
|
|
|
Re: Eclipse debugging src.jar [message #192487 is a reply to message #192462] |
Wed, 07 February 2007 13:25 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
On Ali,
It sounds like the source was compiled without debug information.
There's probably not much you can do...
On Ali wrote:
> Hi,
>
> I have JDK (i.e debug version of class files) installed on my system.
>
> While debugging my application in Eclipse, I try to put debug
> breakpoints inside some .class files (eg. JTable.class) in src.jar. I
> am able to step over, in, out etc. within these class files but i
> cannot see the values of the local variables.
>
> While I add watch expressions, it gives <variable_name> not resolved.
>
> Is there any way to get the values?
>
> Thanks in advance,
> Regards
> on ali
>
|
|
|
Re: Eclipse debugging src.jar [message #192594 is a reply to message #192487] |
Wed, 07 February 2007 23:00 |
Eclipse User |
|
|
|
Originally posted by: eclipse5.rizzoweb.com
Ed Merks wrote:
> On Ali,
>
> It sounds like the source was compiled without debug information.
> There's probably not much you can do...
That is correct - that is how Sun ships it. If you search the Java Bug
Parade you'll find at least one bug report that has been asking for a
debug-enabled build of the rt.jar for a very long time. Last time I
checked, Sun did not seem interested in satisfying this simple request
from the community.<shrug>
Eric
> On Ali wrote:
>> Hi,
>>
>> I have JDK (i.e debug version of class files) installed on my system.
>>
>> While debugging my application in Eclipse, I try to put debug
>> breakpoints inside some .class files (eg. JTable.class) in src.jar. I
>> am able to step over, in, out etc. within these class files but i
>> cannot see the values of the local variables.
>>
>> While I add watch expressions, it gives <variable_name> not resolved.
>>
>> Is there any way to get the values?
>>
>> Thanks in advance,
>> Regards
>> on ali
>>
|
|
|
Creating jar files in Eclipse [message #197073 is a reply to message #192594] |
Thu, 01 March 2007 01:03 |
Eclipse User |
|
|
|
Originally posted by: peter.leadbetter.btinternet.com
I have tried using all the help facilities to create jar file in Eclipse.
Yes, I can "create" the jar file and manifest, but will they run; No. I
would very much appreciate some help or information on this.
|
|
|
|
Re: Creating jar files in Eclipse [message #197956 is a reply to message #197270] |
Tue, 06 March 2007 02:25 |
Eclipse User |
|
|
|
Originally posted by: peter.leadbetter.btinternet.com
Paul
The manifest file is in the project's root directory along with:
a bin directory(.class files in a package),
a lib directory(org.eclipse.swt.win32.win32.x86_3.2.2.v3236.jar),
a src directory(.java files in a package),
the swt-win32-3236.dll,
and the jar file (generated by Eclipse, and to this directory).
The manifest file identifies the main class and points to the
binDirectory/package.MainClass.
When the jar doesn't run, the message box generated entitled "JVM
Launcher" contains the message "Could not find the main class. Program
will exit".
I don't know what else to try and am beaten.
Would very much appreciate any help. If the above is not enough, just
tell me what else you need to know.
Will be in your debt.
regards
peter
|
|
|
|
Powered by
FUDForum. Page generated in 0.10203 seconds