dotnet / dotnet/fsharp

Cannot debug FSI with VS 2022, unless adjusting "Enable Just My Code" setting, and not wanting to use other debugger features

Open
#17,148 1 comment 1 reaction 0 assignees View on GitHub
Area-VS-FSI Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

This is continuation for #15820.

The ticket was fixed, but it involves a step that the user will not know about, which is to require unchecking "Enable Just My Code":

![image](https://github.com/dotnet/fsharp/assets/87944/7c653a0e-dfb0-4e07-ac53-69bbe7a9c943)

This has side effects on the debugging experience, like stepping through framework or dependencies code that aren't initially loaded in the IDE.

I also notice that none of the expected debug feature related to showing variables, ability to use the immediate window are working:

![image](https://github.com/dotnet/fsharp/assets/87944/6251bb88-4ce8-4e33-bce5-223bfb8d04d7)

I think those features have been major reason for FSI effectiveness and usefulness in the past, and right now the experience of "right click / Debug In Interactive" (or attaching to FSI process) is not really something I can introduce users to.

It would be great if it can be fixed in the future.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.