facebook

Source not found

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #265081 Reply

    jadeite1000
    Member

    Hi All:

    I am using MyEclipse 5.1 and Weblogic 8.1.
    I tried to debug an struts action. I use “run/debug/debug”.
    Using “Run/Debug/” I create a new “Remote Java Application”. For the connect tab , I set the following:
    HOST:localhost
    PORT:5000
    For the “Source tab” I clicked on “Add/Workspace Folder”.
    The strange thing is that when I placed a breakpoint it does break into the code but it says source not found. Also in debug perspective it gives me the “values of the variable names in the page I am on”. It also gives me the line of the page I am currently in but when I click on the page, I get source not found.

    I can debug successfully using the steps describe above on another computer.

    Yours,

    Curious

    #265094

    Riyad Kalla
    Member

    Curious,
    If you are trying to debug a struts action, you don’t need to do any of that stuff. Just deploy your project, make sure to start your app server in debug mode (set by default) and just set a break point… then go do something in your app that causes the action to get called again and MyEclipse will stop on your break point.

    #265815

    jadeite1000
    Member

    @support-rkalla wrote:

    Curious,
    If you are trying to debug a struts action, you don’t need to do any of that stuff. Just deploy your project, make sure to start your app server in debug mode (set by default) and just set a break point… then go do something in your app that causes the action to get called again and MyEclipse will stop on your break point.

    Hi:

    Yes, I am trying to debug a struts action.
    I did as you said above I started weblogic in debug mode and place a breakpoint in the structs action code and did something in the browser that should break into it.

    The other way I did was to start Weblogic by itself but use MyEclipse 5.1 Run/Debug and choose a name for the “Remote Java Application”. I created the name by going to source and click “Add” and I choose “Workspace Folder”. When I do something in my browser it does break intot the MyEclipse 5.1 I can see the values for the variables in the “Variables” tab but I cannot see the source code. It says “Source Not Found”.

    Yours,

    Desperate.

    #265862

    Riyad Kalla
    Member

    Desperate,
    This is currently a known issue with WebLogic 8 and 9 at this time. In our own testing it’s been extremely frustrating trying to reproduce the problem because we cannot internally, but we have a handful of users (like yourself) that reproduce it every time. We haven’t been able to get a single test project that exhibits the problem locally to test with to see why it’s happening.

    Is this project something you could share with us for the purpose of testing?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Source not found

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