ionide / ionide-vscode-fsharp

VS Code plugin for F# development
http://ionide.io
MIT License
853 stars 277 forks source link

Debugging hangs #1201

Closed natalie-o-perret closed 2 years ago

natalie-o-perret commented 4 years ago

Describe the bug I am using Ionide with Visual Studio Code running under Manjaro.

I have simple project with only one single file Program.fs:

[<EntryPoint>]
let main argv =
    printfn "Hello World from F#!"
    0

When cliking on running the project, it works just fine: Hello World from F#! is printed in the console and then the program quits, just like expected. But clicking on debugging the debugger hangs (can see the debug toolbar) but the program is not executed.

image

I would like to point out that omnisharp debugging works just fine with C# projects.

To Reproduce Steps to reproduce the behaviour:

  1. Go to Ionide tab
  2. Click on Debug Default Project
  3. See that the debug bar has shown up but the program is not debugged and not running

Expected behaviour A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

open-collective-bot[bot] commented 4 years ago

Hey @ehouarn-perret :wave:,

Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our OpenCollective and consider backing us.

https://opencollective.com/ionide

PS.: We offer backer support for all backers. Don't forget to add backer label when you start backing us :smile:

m0rphed commented 4 years ago

Same behavior on Arch Linux with vscode-oss :disappointed:

~ » dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.201
 Commit:    b1768b4ae7

Runtime Environment:
 OS Name:     Ctlos
 OS Version:  net-1.0_20200407
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.201/

Host (useful for support):
  Version: 3.1.3
  Commit:  4a9f85e9f8

.NET Core SDKs installed:
  3.1.201 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.3 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Also getting Cannot create .NET debug configurations. The OmniSharp server is still initializing or has exited unexpectedly

Krzysztof-Cieslak commented 2 years ago

We don't control debug experience in VSCode/.NET