I know there is Java
box on the right top corner in eclipse. But it doesn't actually exit debug mode. Eclipse still shows that "running". I mean how to exit debug mode and then can click "debug as java application" and program stops at the first breakpoint again.
EDIT: I mean two times debugging because something hasn't been watched in the first time. So I want to debug again from the beginning of the program. In the first time, program stops at line 3. In the second time, when I press F8, program can stop at line1(breakpoint). But when I click java
, eclipse doesn't really exit debug mode in the first time.
public class Test {
public static void main(String[] args) {
System.out.println("hello"); // line 1, breakpoint
System.out.println(""); // line 2
} // line 3
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.