facebook

Source Not Found

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #275067 Reply

    Jeff Strike
    Member

    I 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

    #275076 Reply

    Loyal Water
    Member

    Hi 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.

    #275080 Reply

    Jeff Strike
    Member

    Yes, 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

    #275081 Reply

    Jeff Strike
    Member

    Let 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.

    #275083 Reply

    Riyad Kalla
    Member

    jstrike,
    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

    #275084 Reply

    Jeff Strike
    Member

    It works, thanks for the clarification.

    -Jeff

    #275089 Reply

    Riyad Kalla
    Member

    Jeff thank you for letting us know, I’ll push to get this fix in sooner than later.

    #277692 Reply

    zphk
    Member

    This message has not been recovered.

    #277710 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #283123 Reply

    hi_myeclipse
    Member

    This message has not been recovered.

    #283211 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #283236 Reply

    hi_myeclipse
    Member

    This message has not been recovered.

    #301575 Reply

    jatinkumar
    Member

    i am getting the same error…. but using myeclipse as IDE and myeclipse tomcat as web server……….
    can you help me out

    #301592 Reply

    depo.jatin,
    What is the version of MyEclipse that you are using? Can you copy paste your installation details from MyEclipse > Installation Summary > Installation Details?

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: Source Not Found

You must be logged in to post in the forum log in