Mr.
Mr.

Reputation: 10142

Eclipse terminate shotcut

I am familiar with What is the short cut in eclipse to terminate debugging/running?. But nothing is working for me. I wish to be able to terminate a running program in the Java perspective in the same manner I able to do so on the Debug perspective with CTRL+F2.

If one could provide a specific details of how to achieve it, It will be really great!

UPDATE

To clear any doubts, Assume a toy example when all we have is as following:

public class ToyExample {
    public static void main(String[] args) {
        while (true);
    }
}

I wish to execute (run) the program above normally (CTRL+F11), i.e. not under Debug mode, and have the ability to terminate it by CTRL+F2 (or another keyboard-shortcut).

Upvotes: 2

Views: 1711

Answers (2)

Alexey Berezkin
Alexey Berezkin

Reputation: 1543

Maybe you have some other plugin command overriding Ctrl+F2 shortcut? Check additional plugins you have installed on your Eclipse.

Upvotes: 0

Tim Gage
Tim Gage

Reputation: 1381

Try enabling the "Debug" command group in the "Java " perspective:

Window -> Customize Perspective -> Command Groups Availability

Upvotes: 1

Related Questions