Solved

How to debug jar file ??

Posted on 2011-09-12
3
490 Views
Last Modified: 2012-08-14
Is it possible debug jar files in EClipse IDE ?
0
Comment
  • 2
3 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 36523059
If your jar file does not contain source code, then you can try to decompile the
classes. If you have any other way to deal with your problem - it is bntter to use that other way
if you don't have a source code, decompilation wioll be your last resort.
0
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
ID: 36523073
Normally Eclipse can provide you some information about your class file but would not allow you to modify it,
so you need to decompile it before - with some of the decompilers - please consider other options (ike going to the author of the classes,
using another program, etc.) before you start doing it
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 36524906
Java (and any IDE) debugs class files - it doesn't care what they're contained in.

What it DOES care about is that there be debugging information in the class files and that the source code be available. Recompilation of the source could be necessary
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
arguments to jar 5 39
Android development question 2 75
Eclipse Help Java EE 5,6,7 Documentation, why not Java EE 8 8 40
wild fly 8 startup error 2 37
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question