Is there a way to debug a signed jar file? I built my applet Java file as a signed jar and use that built file in my main webapp. I tried debugging through my original file but none of the breakpoints work.
EDIT: I'm using Kepler and setting the breakpoints in Debug mode. I also have my weblogic server running in debug mode. The rest of my breakpoints in the server side code work fine, but the code for the signed jar doesn't.
答案 0 :(得分:0)
Although, I'm not 100% clear on your question I believe that once you have a jar you should switch your frame of mind to integration testing.
That being said, to debug and test your .jar I'd recommend writing unit test that call classes and functions in your jar to determine if they behave like you'd expect as opposed to setting break points, which won't work with a jar.
In this way you can debug your jar. If this is the right direction, let me know and I'll give you an example.