Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can't Debug JAR File Using JFrames
Can't Debug JAR File Using JFrames [message #445997] Mon, 15 November 2004 22:43 Go to next message
Eclipse UserFriend
Originally posted by: overbored.overbored.net

How do I debug some a .jar (or any Java program) that uses JFrames (I think
this means it uses "swing")? My goal is to just debug an existing .jar file
without rebuilding it from the source (which I have), since rebuilding
would require various libraries. That, and it's huge.

What I did: I created a new project, added the .jar as a library (attached
the source code to it), right-clicked on it in the Package Explorer, and
hit Debug. However, no windows are showing up. If I run it from the
command-line, everything's fine. Does anybody know what's going on? Thanks
in advance!
Re: Can't Debug JAR File Using JFrames [message #445998 is a reply to message #445997] Mon, 15 November 2004 23:03 Go to previous message
Eric Bodden is currently offline Eric BoddenFriend
Messages: 32
Registered: July 2009
Member
You cannot debug a jar file as such. You have to hit "debug" on a *class*
of that jar-file holding a main method.

Eric

P.S. no x-posts please

--
Eric Bodden, ICQ: 12656220, http://www.bodden.de, PGP: BB465582
Arithmetic Coding Revealed - a comprehensive guide to AC
http://bodden.de/studies/publications/pub_ac_en/
Previous Topic:Drag and Drop in a Tree with dynamic insertion mark?
Next Topic:PrinterDialog - default settings
Goto Forum:
  


Current Time: Sat Oct 31 14:26:32 GMT 2020

Powered by FUDForum. Page generated in 0.02006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top