Debugger not stopping at breakpoint
See original GitHub issueSteps to reproduce
- Generate new RC2 netcore project with: dotnet new --lang F#
- Add a line before the entry point so Program.fs looks like this:
open System
let a = [""] // <-- if this line is removed, the debugger will attach
[<EntryPoint>]
let main argv =
printfn "Hello World!" // <-- put breakpoint here
printfn "%A" argv
0
Expected behavior
Visual Studio debugger will stop at the breakpoint.
Actual behavior
Not stopping at breakpoint.
Environment data
dotnet --info
output:
VS2015 with Dotnet Core RC2
.NET Command Line Tools (1.0.0-preview1-002702)
Product Information:
Version: 1.0.0-preview1-002702
Commit Sha: 6cde21225e
Runtime Environment:
OS Name: Windows
OS Version: 10.0.10586
OS Platform: Windows
RID: win10-x64
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Why doesn't debugger stop at breakpoint?
4. It usually means the code is not invoked. · It is difficult to determine without a reproducible test case. Can you create...
Read more >Visual Studio debugger doesn't stop on breakpoints
Right-click your project from the Solution Explorer, and then click Properties. Click the Web tab. Under Debuggers, check the ASP.NET checkbox.
Read more >VSCode Breakpoint not hitting/stopping when run in ...
When Start Debugging is fired, the program runs successfully. However the program doesn't stop at breakpoints. Breakpoint is enabled and placed ...
Read more >PyCharm 2020.1 not stopping on breakpoints anymore.
Unchecking "Gevent compatilble" in Pycharm settings (under Python Debugger) solved the issue. Hope this helps. 2. Avatar.
Read more >Visual Studio debugger does not stop on a breakpoint
The Visual Studio debugger does not stop on a valid breakpoint when attaching to an application running on your local PC, despite having...
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
Just tried this out. Works with VS 2017 and 2.0 .NET Core SDK.
Awesome!