Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: debugging classes in jarfile

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Thanked 0 Times in 0 Posts

    Default debugging classes in jarfile

    I have an Applet-Servlet kind web application that runs under tomcat 6 and my IDE is intellij IDEA 6.
    my applet classes are built in a jar file named dpmjar.jar that i build it with ant.
    My problem is debugging the applet classes. I have no problem when debugging the servlets but whenever i put breakpoints in applet classes and try to debug, It has no effect.

    Can any body help me please?

    Thanks in advance,
    Habib Ghayoumi

  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Thanked 833 Times in 772 Posts
    Blog Entries

    Default Re: debugging classes in jarfile

    Are the class files in the jar compiled with debugging info stripped? For example, using the command line param '-g:none' when compiling with javac will strip debugging info and breakpoints won't work.

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Thanked 0 Times in 0 Posts

    Default Hello

    Excellent ! I like it very much

Similar Threads

  1. Debugging your program
    By helloworld922 in forum Debugging Tutorials
    Replies: 0
    Last Post: November 18th, 2009, 03:14 AM
  2. connecting two classes?
    By chronoz13 in forum Object Oriented Programming
    Replies: 9
    Last Post: September 1st, 2009, 03:15 PM
  3. [SOLVED] How to link two different class?
    By John in forum Object Oriented Programming
    Replies: 11
    Last Post: April 27th, 2009, 02:57 PM
  4. Why output is displaying 0 for calculation in java?
    By tazjaime in forum What's Wrong With My Code?
    Replies: 3
    Last Post: April 26th, 2009, 01:18 PM
  5. [SOLVED] Java program using two classes
    By AZBOY2000 in forum Object Oriented Programming
    Replies: 7
    Last Post: April 21st, 2009, 06:55 AM