-
Notifications
You must be signed in to change notification settings - Fork 819
Cannot debug FSI with net 7 or .net framework in Visual Studio 2022 17.6.0 preview 2 #15820
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
Comments
If you are on Version 17.6.0 Preview 2.0, can you please try in the latest preview? |
I'm still seeing the same with Version 17.8.0 Preview 1.0 |
@T-Gro, can I get confirmation this doesn't need a repro and that it also fail to debug on your end? |
Yep, it also fails to debug on latest code from main. |
Related: #5457 |
This should be fixed in 17.8 when it arrives. Recording.2023-10-14.165437.mp4 |
thanks! |
Same here. I had to resort to printf for debugging 😭 |
So ... script debugging works for me if I disable "Just My Code". Did you give that a try? Untitled.video.mp4 |
Same, @blfuentes. No locals, no watch, no values on hover, on call stack. |
I think we can close this right? we will manage the variables issue with this: #14572 |
I'm trying this again (have to demo fsx scripting to client), and reading to uncheck "Just My Code", as out of box, it doesn't work. The issue I see is, I'm stepping through the FSI interpreter now, I don't think my client or F# script users wants to see this. Is there a sense that things should work without "Just My Code" being unchecked, just out of the box (after setting the debugging option for F# Interactive being set)? |
For a while I haven't been able to debug scripts either by attaching to fsianycpu.exe or using the right click item on the F# interactive panel.
I am still able to step through code of loaded assemblies.
Microsoft Visual Studio Community 2022
Version 17.6.0 Preview 2.0
VisualStudio.17.Preview/17.6.0-pre.2.0+33513.286
Microsoft .NET Framework
Version 4.8.09032
Installed Version: Community
ASP.NET and Web Tools 17.6.204.15292
ASP.NET and Web Tools
Azure App Service Tools v3.0.0 17.6.204.15292
Azure App Service Tools v3.0.0
C# Tools 4.6.0-2.23151.17+1314d090671dc1a1500c5303c4b5ae9150f40d98
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager 6.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Syntax Visualizer 1.0
An extension for visualizing Roslyn SyntaxTrees.
TypeScript Tools 17.0.20302.2003
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.6.0-2.23151.17+1314d090671dc1a1500c5303c4b5ae9150f40d98
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.6.0-beta.23126.1+4de2393866be1be6fa35af544c6f25a10af5ab3d
Microsoft Visual F# Tools
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
related: #14453
The text was updated successfully, but these errors were encountered: