Debugger launch may fail with '/usr/local/share/dotnet' does not exist'
See original GitHub issueEnvironment data
dotnet --info
output:
Microsoft .NET Core Shared Framework Host
Version : 2.0.3
Build : a9190d4a75f4a982ae4b4fa8d1a24526566c69df
VS Code version: Version 1.18.1 (1.18.1)
C# Extension version: 1.13.1
Steps to reproduce
Use osx Install VSC, extension. Download dotnet core form site and use the install to setup.
Expected behavior
Run the debugger
Actual behavior
having the same issue: Displays the error after trying to debug.
launch: program '/usr/local/share/dotnet' does not exist.
I can run dotnet
from internal terminal or OSX terminal. It also works if I assigned the debugger to an existing process, but doesn’t work debugging a new one.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Debugger operation failed launch: program 'dotnet' does not ...
So Im trying to program F# on my mac. The problem is that im trying to use VS for mac to run it....
Read more >Path to shell executable "dotnet" is not a file of a symlink ...
The terminal process failed to launch: Path to shell executable "dotnet" is not a file of a symlink. Terminal will be reused by...
Read more >Install .NET on macOS - Microsoft Learn
In this article, you'll learn how to install .NET on macOS. .NET is made up of the runtime and the SDK. The runtime...
Read more >lldb fails to launch process: "Not allowed to attach to process"
Xcode 12.4 on Big Sur, a very basic attempt to launch and debug a process. ... Why would lldb, running as my local...
Read more >Run .netcore3.1 fail in Rider when both 6 and 3.1 SDK are ...
Net Core 3.1 project is not able to debugging after Net 6.0 SDK is installed ... error: dlopen(/usr/local/share/dotnet/host/fxr/6.0.0/libhostfxr.dylib, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Both VS for Mac and VS Code use the same underlying debugger. So that makes sense.
Okay, good. I should be able to repro this then. I will try to get the debugger fixed up for our next release. In the mean time, if you can swap the order of
/usr/local/share
and/usr/local/bin
I think this will go away.