facebook

Debug in action and actionForm broken

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #239433 Reply

    Bruce Petro
    Member

    Debug starts fine in Action1 class, that class has an import for Class2, creates a new Class2, then sends
    class2Instance.doThis();
    Debug goes into that method, which then does a new Class3();

    I went into all that because perhaps it might matter, but bottom line is this debugger that is now sitting in a method in Class2 just fine until the new Class3() is run. Then the debugger stops with the message

    CLASS FILE EDITOR
    Source not found
    The source attachment does not contain the source for the file ClassLoader.class.

    WHY do you need source for ClassLoader? I’m guessing perhaps I clicked “step-into” instead of “step-over” and THAT might make it want to find source for ClassLoader, but if it can’t seems like it shouldn’t halt everything… just show a screen that says “Source not available” then continue on once the new class has been created.

    So, question is, once that error occurs is there a way to say, “Continue on, I don’t care about source for this step” ??

    Thanks!

    #239487 Reply

    Riyad Kalla
    Member

    WHY do you need source for ClassLoader? I’m guessing perhaps I clicked “step-into” instead of “step-over” and THAT might make it want to find source for ClassLoader, but if it can’t seems like it shouldn’t halt everything… just show a screen that says “Source not available” then continue on once the new class has been created.

    You clicked step into, which means the debugger already stopped at the next line of byte code, and as an auxility step when it went to show you the source code for that line, it couldn’t find it. Regardless of the source code, your processing is stopped at this point just as “step into” works in every other case.

    So, question is, once that error occurs is there a way to say, “Continue on, I don’t care about source for this step” ??

    Click the continue (Play) button.

    #239566 Reply

    Bruce Petro
    Member

    But does continue go to the next step?? IE: I goofed, don’t want to see INTO that step but I do want to continue stepping thru the code, I do not want to just push thru all code steps in a single step. Is there a way to do that? THANKS AGAIN!

    #239572 Reply

    Riyad Kalla
    Member

    Click Step Over

    #240745 Reply

    snipe_vgtu
    Member

    Hi there, I’m new to Eclipse, I used to use =) notepad or what ever text editor for Java, but my friends told me that Eclipse is going to boost my speed. I agreed, but it is kind of difficult for me to understand it’s behaviour.

    I have to classes. And in the main one I have this line: Temperature t1 = new Temperature();
    When I’m just running the program it’s fine. But when I’m lunching the debugger, and trying to step into my second class (this line) it stops and shows me the error message like this:

    ClassLoader.class

    Source not found
    The source attachment does not contain the source for the ClassLoader.class
    You can change the source attachment by clicking Change Attached Source below:

    BUTTON

    and then the source code for ClassLoader class.

    Please help, I’m struggling =(

    #240797 Reply

    Riyad Kalla
    Member

    snipe,
    You need to post your question to an Eclipse newsgroup or to a general Java programming newsgroup like http://forums.java.sun.com

    These forums are for the MyEclipse product.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Debug in action and actionForm broken

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