question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`Stop Code Run` not working

See original GitHub issue

If I press Ctrl+Alt+M while code is running, nothing happens. Attempting to run the command by pressing F1 and selecting Stop Code Run also doesn’t work, and results in the following error:

command 'code-runner.stop' not found

I’ve tried uninstalling and reinstalling the Code Runner extension, as well as disabling then re-enabling it, but the command still doesn’t work. I’ve been testing the command using a simple infinite loop written in Python, so I know that it should be having some effect when I call it.

Is there anything else I can do to get it working? If not, could someone please fix the problem?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:13

github_iconTop GitHub Comments

24reactions
miozuscommented, Feb 17, 2019

Ctrl+Alt+N start code Ctrl+Alt+M stop code

9reactions
leeepenncommented, Jan 4, 2019

when you set “code-runner.runInTerminal”: true, although Ctrl+Alt+M doesn’t work, you can click the “Kill Terminal” to kill the running thread 1546588778

Read more comments on GitHub >

github_iconTop Results From Across the Web

In VSCode, how do you stop code that is running via the Code ...
5 Answers 5 · use shortcut Ctrl + Alt + M · or press F1 and then select/type Stop Code Run · or...
Read more >
Is there anyway to stop running to code without closing vscode ...
Is there anyway to stop running to code without closing vscode everytime? ctrl+c in terminal, shift+f5 if debugging, should work.
Read more >
Fix program errors and improve code - Visual Studio (Windows)
This article describes some basic ways Visual Studio can help you find and fix problems in your code, including build errors, code analysis, ......
Read more >
Code runner not working on VS Code - YouTube
hello friends welcome to my channel.support me by liking my videos and subscribing my channel.If you solution of any problem regarding Vs ...
Read more >
Jupyter Lesson 9: How to Interrupt the Kernel (Stop code from ...
Interrupting the kernel stops the code from running but doesn't remove the variable you have stored in memory. How do you know your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found