- This topic has 5 replies, 3 voices, and was last updated 19 years ago by Riyad Kalla.
-
AuthorPosts
-
Bruce PetroMemberDebug 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!
Riyad KallaMemberWHY 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.
Bruce PetroMemberBut 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!
Riyad KallaMemberClick Step Over
snipe_vgtuMemberHi 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 =(
Riyad KallaMembersnipe,
You need to post your question to an Eclipse newsgroup or to a general Java programming newsgroup like http://forums.java.sun.comThese forums are for the MyEclipse product.
-
AuthorPosts