- This topic has 13 replies, 7 voices, and was last updated 15 years, 3 months ago by support-shalini.
-
AuthorPosts
-
Jeff StrikeMemberI recently upgraded to version 6 now whenever I use the deubgger I get a message that says Source not found when I hit a break point that I set in my code. I have to click the Edit Source Lookup Path and add the project in before I can see the code. This used to be automatic in the past, how can I change this.
Thanks,
-Jeff
Loyal WaterMemberHi Jeff,
Are you using Weblogic ? This is a known bug with the weblogic server that we would be fixing shortly. For the time being, you can workaround this issue:-
1. You can work around the issue by creating a Launch Configuration for your app server by going to Windows > Preferences > MyEclipse > Application Server > (app server) > Launch > Create Launch Config.2. Then you can go to the Debug menu, then click the “Open Debug Dialog…” and find your configuration and on the Source tab, add all the projects that you’ll need to debug there and then hit OK
From then on, you can use that Launch Configuration to launch the app server and not need to keep adding the source dir.
Jeff StrikeMemberYes, I’m using weblogic 8.1 sp5.
I went in and created a launch configuration.
Under the Source tab I added the project, clicked Apply.
Under the Common tab I set it up to appear in the favorites menu.
If I click on the favorites menu the same thing happens and I have to select the source.
If I go back into create the launch configuration the project is not listed under the Source tab.
While on the launch configuration page if I click the Debug button at the bottom to launch the server (after I set the source code) it works…but this is no better than before.There’s a bug in Weblogic using tiles and hot deploy that causes the app server to throw a NPE when hot deploy pushes out a new class file. For this reason we end up starting and stopping our servers a lot. Do you have any idea of the ETA for the patch for this?
Thanks,
-Jeff
Jeff StrikeMemberLet me clarify that last post. I can live with restarting my server all the time due to the Weblogic/Tiles issue. (At least until we’re in a position to upgrade Weblogic) That’s just a click and short wait. If I have to jump through a bunch of menus to either launch the server or specify where the source code is then that’s going to be a major pain.
Riyad KallaMemberjstrike,
There is a bug when you create the launch config for the first time that the source entries don’t get saved, but if you go to the debug menu, hit the Open Debug Dialog, and find the launch, then go to the source tab and add the dirs and hit Apply, you should be able to reuse that from this point forward and not need to attach source again.We are going to try and get this fixed in 6.0.1 but it may slip to 6.1
Jeff StrikeMemberIt works, thanks for the clarification.
-Jeff
Riyad KallaMemberJeff thank you for letting us know, I’ll push to get this fix in sooner than later.
zphkMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
hi_myeclipseMemberThis message has not been recovered.
Riyad KallaMemberThis message has not been recovered.
hi_myeclipseMemberThis message has not been recovered.
jatinkumarMemberi am getting the same error…. but using myeclipse as IDE and myeclipse tomcat as web server……….
can you help me out
support-shaliniMemberdepo.jatin,
What is the version of MyEclipse that you are using? Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details? -
AuthorPosts