- This topic has 13 replies, 7 voices, and was last updated 15 years, 11 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,
-JeffSeptember 5, 2007 at 10:34 am #275076
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.
September 5, 2007 at 10:56 am #275080
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,
-JeffSeptember 5, 2007 at 10:59 am #275081
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.
September 5, 2007 at 11:21 am #275083
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
September 5, 2007 at 11:26 am #275084
Jeff StrikeMemberIt works, thanks for the clarification.
-Jeff
September 5, 2007 at 11:46 am #275089
Riyad KallaMemberJeff thank you for letting us know, I’ll push to get this fix in sooner than later.
October 29, 2007 at 10:15 pm #277692
zphkMemberThis message has not been recovered.
October 30, 2007 at 10:07 am #277710
Riyad KallaMemberThis message has not been recovered.
March 19, 2008 at 5:07 pm #283123
hi_myeclipseMemberThis message has not been recovered.
March 24, 2008 at 7:28 am #283211
Riyad KallaMemberThis message has not been recovered.
March 24, 2008 at 11:48 am #283236
hi_myeclipseMemberThis message has not been recovered.
August 19, 2009 at 11:32 pm #301575
jatinkumarMemberi am getting the same error…. but using myeclipse as IDE and myeclipse tomcat as web server……….
can you help me outAugust 20, 2009 at 4:33 am #301592
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