Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close
Hi!
I am using Eclipse 3.1 with MyEclipse.
I am running a simple Java program which connects to a database using a hibernate / JPA to do this.
I build a jar, put and classpath and run.
All runs ok, but I can’t debug my own source code even though it is part of the project I am working on. The sourcecode I can’t debug is compiled and put in a jar on the classpath.
I run using the the java -verbose option and I can see my jar being picked up. However eclipse can’t match any of the classfiles in this jar to my source code even though the source code is part of the project.
Any idea help greatly appreciated?
That’s an odd setup… why do you need to run from the JAR, why not just run the source file? This is likely why the mapping cannot occur.
Also if you are using ant, and have NOT included the debug=true and debuglevel arguments to your javac task, then your classes are missing the debugging symbols as well.
That’s an odd setup… why do you need to run from the JAR, why not just run the source file? This is likely why the mapping cannot occur.
Also if you are using ant, and have NOT included the debug=true and debuglevel arguments to your javac task, then your classes are missing the debugging symbols as well.
That’s wicked, I used debug=”ON” in my javac ant target and fair play it worked.