I want to terminate some program with use Ctrl-C in Eclipse console - how can I emit such keys stroke?
I need to test on KeyboardInterrupt exception code in debug mode with PyDev but it not matter if I will send Ctrl-C it will works.
I want to terminate some program with use Ctrl-C in Eclipse console - how can I emit such keys stroke?
I need to test on KeyboardInterrupt exception code in debug mode with PyDev but it not matter if I will send Ctrl-C it will works.
To change keyboard bindings go to Window > Preferences > General > Keys and find "Terminate" with a red box by its name. Then click the box where it says "Ctrl + F2" and hold Ctrl + C.
Visual Example: http://imageupper.com/g/?S020001004M14616836161626229