开发者

Eclipse : debugging an Java class in Eclipse IDE , under Debugger perspective

开发者 https://www.devze.com 2023-04-12 07:13 出处:网络
I am debugging an Java class in Eclipse IDe, , i have put several break points for it . While debugging the Application , the following is shown under debug view

I am debugging an Java class in Eclipse IDe, , i have put several break points for it .

While debugging the Application , the following is shown under debug view please see the screen shot here . http://tinypic.com/view.php?pic=dnga68&s=7

What i am expecting i that when i press F6 , it should go to next line and when i press F8 should go to next break point . But why this stepping views are shown ??

( During this view should we press F6 or F8 so that it goes to the java source开发者_如何学编程 ??)

Please guide me i am new to debugging in Eclipse .

Thank you very much .


The program is suspended inside some of the JUnit library code, for which you do not have source code. There's no way the debugger can show you the source if you don't have it! You can see where the program is stopped by looking at the stack trace; the method named at the very top is the current method.

You can press the green arrow to run until you hit the next breakpoint, which is presumably inside code for which you do have the source.

0

精彩评论

暂无评论...
验证码 换一张
取 消