简体   繁体   中英

How to exit debug mode in eclipse and clear earlier debug records

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
  }

Simply clicking on Java view doesnt exit the debug mode.

调试模式

In this dialog you will see the stop button (first row) if current process in running. Just stop it.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM