- This topic has 2 replies, 2 voices, and was last updated 19 years, 10 months ago by gmachamer.
-
AuthorPosts
-
gmachamerMemberSystem info. I’m running my eclipse Version: 3.0.1 Build id: 0409161125. I’m deploying my project to tomcat 5 as an exploded archive. I have a jar file that is located in my WEB-INF\lib folder inside the deployed project. I have the zip file and have attached it inside of MyEclipse.. this works correctly and I’m able to browse through and set up a break point inside the jar.
When I run the application and attempt to step into a call to the jar I get an error about not being able to find the source. Do I need to manually drop the zip file into tomcat or is there something else I need to do to be able to step through the jar.
If I look inside of tomcat the zip file does not show up anywhere in the project.
Scott AndersonParticipantFirst, please be sure the jar was compiled with debugging turned on, or stepping just won’t work. Second, when the breakpoint is encountered, Eclipse should ask you for the location if the source if it can’t locate it. Does it do that? Can you manually direct Eclipse to the source?
By the way, this is more a standard Eclipse Debugger question, since stepping through java archives isn’t something we add and I must admit I haven’t done it personally. Perhaps Riyad knows a bit more.
gmachamerMemberThank you. I will have to check on the jar compilation as it was done by a different developer..
But we just converted from Websphere to MyEclipse. The jar file worked with Websphere so I have to assume that it should work with MyEclipse.. assuming I get everything set up correctly.
When the breakpoint is encountered a new tab is greated with the method name the breakpoint is in. The tab only contains the message
Source not found for OmniTransactionMultiOccurProxy.refreshSingle(OmniDataTransactionInquireInputBean) line: 31There is no button to attach the source like I would have expected to see.
As for being a standard eclipse debugger question.. I assumed since it worked in websphere that it was just a setup issue on MyEclipse that possibly some one would have an answer for on this site. I will try to see what else I can find on it.
Thanks
-
AuthorPosts