fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

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

Open smoothdeveloper opened this issue 1 year ago • 1 comments

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

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

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.

smoothdeveloper avatar May 15 '24 14:05 smoothdeveloper

Actually, tracked in #14572 but good to have the issue open until there is a solution.

smoothdeveloper avatar May 15 '24 14:05 smoothdeveloper