Eclipse debugging src.jar [message #192462] |
Wed, 07 February 2007 04: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: Creating jar files in Eclipse [message #198087 is a reply to message #197956] |
Tue, 06 March 2007 12:57  |
Eclipse User |
|
|
|
peter antony wrote:
>
> 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".
>
Try opening the jar file in a Zip utility (WinZip, ZipCentral, ...) and
see what the path to MainClass.class is. Might be
"binDirectory/package.MainClass" doesn't match the way the jar is organized?
/Paul
|
|
|
Powered by
FUDForum. Page generated in 0.10005 seconds