-
Notifications
You must be signed in to change notification settings - Fork 676
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
vscode stop debugging/running any dotnet core apps #3676
Comments
@caglardursun Can you provide steps to reproduce this issue? cc: @WardenGnaw |
I just install the c# extension. That's all. When I first install the extension, everything looks fine. I thought there is a application crash but it's not. So I assume the problem should be about the extension |
Could you enable logging and share those logs? You can do this by adding the following to your
|
I added into configuration section in launch file. I've just open window log
|
Now same error occurred [2020-03-18 00:13:22.104] [renderer1] [error] timeout after 500 ms: Error: timeout after 500 ms |
Sorry, could you share the logs from the Debug Console pane? It will look like:
|
I couldn't see anything on the debug console. It's blank |
Unfortunately, that means the C# debugger does not start up and did not get a request to debug any process. From the logs provided earlier, there seems to be an error from the
|
But before the extension installed, I already cannot debug the app. It's not relevant with the remote debugging |
All right, I clean up entire extension folder. here is my launch.json file {
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"logging": {
"engineLogging": true
},
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/netcoreapp3.0/BlaBlaMail.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
} Installing C# dependencies... Downloading package 'OmniSharp for Linux (x64)' (43753 KB).................... Done! Downloading package '.NET Core Debugger (linux / x64)' (54207 KB).................... Done! Downloading package 'Razor Language Server (Linux / x64)' (52181 KB).................... Done! Finished |
Nope ... Debug console is still clean |
Can you run the following There should be an output saying: Also, does |
|
I faced the same problem after installing VSCode insiders btw. |
I have this exact issue! I have Ubuntu 19.10 too. What could it be? |
@caglardursun I got failures with VSCode Insiders. The issues I was running into was that dotnet would fail to run and it wouldn't start the debugger. Can you try running |
Nope Not worked at all.
I kill the each process using Not worked again |
do we need to downgrade ubuntu 19 to ubuntu 18 LTS? |
also happing with me 😔 additional information: |
@husseinraoouf I am not sure your problem is actually the same as what was originally reported (it is pretty generic). But if you want to provide a debugger log and a more detailed description on what you are seeing we can have a look. |
@gregg-miskelly sorry i wan't clear the Debug console is blank but here is the vscode log
|
@husseinraoouf if you would like help, please include a debugger log. |
@gregg-miskelly it is empty, I think the debugger is not even started |
Similar problem here in Manjaro 20, Code OSS 1.48, dotnet 3.1.107
|
@yeahbah your issue is not related to this. My guess is that your problem is that you are using the OSS version of Visual Studio Code. The debugger is only licensed to work in the official version of VS Code. If you are using the official version of VS Code, please open a new issue and we can try to figure out what is going on. |
Closing out stale issue |
VScode Log :
[renderer1] [error] timeout after 500 ms: Error: timeout after 500 ms
at t.RawDebugSession.handleErrorResponse (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2953:952)
at file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2953:250
at async t.RawDebugSession.shutdown (file:///usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js:2951:336)
Please paste the output from your clipboard.NET Core SDK (reflecting any global.json):
Version: 3.1.200
Commit: c5123d973b
Runtime Environment:
OS Name: ubuntu
OS Version: 19.10
OS Platform: Linux
RID: ubuntu.19.10-x64
Base Path: /usr/share/dotnet/sdk/3.1.200/
Host (useful for support):
Version: 3.1.2
Commit: 916b5cba26
.NET Core SDKs installed:
3.1.200 [/usr/share/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.App 3.1.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.2 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version:
Version: 1.43.0
Commit: 78a4c91400152c0f27ba4d363eb56d2835f9903a
Date: 2020-03-09T19:44:52.965Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-42-generic
C# Extension version : 1.21.4
Installed Extensions :
eamodio.gitlens
ms-azuretools.vscode-docker
ms-vscode.cmake-tools
ms-vscode.cpptools
twxs.cmake
vscode-icons-team.vscode-icons
The text was updated successfully, but these errors were encountered: