I have a .Net 6 project built using TopShelf in C#, running as windows service.
I want to debug my code to a certain line. I then press F10 but it steps into the line and then out on the 2nd F10 press. So in other words, it like breaks on the same line twice.
Why is that?
My debugger settings are set as default.
Here is a video https://screenrec.com/share/EtL6FfP0hx
Any idea why it s doing that?