Solved

How to debug jar file ??

Posted on 2011-09-12
3
482 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
backtracking recursion  code 19 53
Groovy:unable to resolve class error 2 66
oracle 11g 23 46
How to convert String matching to regex in java 4 16
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.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now