-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to perform this action because the process is running. #1027
Comments
@Mecil9 I think the message |
@gregg-miskelly thanks, i am running the program in VScode's c# debugger. i haven't another copy running. |
@Mecil9 You didn't say what kind of application you are debugging. Something like a console app - you can run as many instances as you like. A web app on the other hand you can only run multiple instances if you change the port number for each instance. I am assuming you are debugging a web app? BTW: |
@gregg-miskelly console app. i am learning C#, when i wanna to run the .Net tutorials programs on the VScode. code like this:
debug this code,
so I was confused. if i run another code,don't need to input keyboard, it is ok! |
@Mecil9 Thanks! Now I understand your question - the debug console isn't a terminal to your application. So when you enter something from the keyboard you aren't sending input to your application, instead you are asking the debugger to evaluate the expression, so the debugger will tell you 'I can't evaluate something right now because the debugger isn't stopped'. If you want to make an application that reads from the console then you want to change your lanch.json so that |
@gregg-miskelly Thank you for your patience answer, problem solved!VScode debugging is not familiar to me, just from JavaScript turn around, ready to do hololense development. It seems that this problem can be closed. : P |
This does not work for C++ clang on Ubuntu. |
I'm subject to this issue. The Debug console is not able to use for ISO C program debugging. Whatever I type, the console is "Unable to perform this action because the process is running". It is the same with external console set to true. |
i have same issue. did you solved this problem? |
@gihwan-kim See my reply above. |
Environment data
dotnet --info
output: 1.0.0-preview2-1-003177VS Code version:1.7.2
OS: OSX 10.12.1
C# Extension version: 1.5.3
mono version :4.8.0
When i debug C# program , is throw a Error:
stop debug, then throw another error:
The program '/Users/Mecil9/Homework/hwapp/bin/Debug/netcoreapp1.1/hwapp.dll' has exited with code 0 (0x00000000).
my launch.json file:
go to Visual studio and Terminal is OK!
The text was updated successfully, but these errors were encountered: