nemui
Single Stepping is all over the place
I'm single-stepping through .NET 8 ASP.NET Core code further up the call stack before my own endpoint is being called. Even stepping over simple fields suddenly has the debugger jump somewhere entirely different. The thread ID remains the same. Anyone know why this happens? Is the managed thread the same, but the unmanaged thread not?
2 replies
❔ Why can't I place breakpoint in SourceLink-ed file?
I'm trying to put a breakpoint inside File.ReadAllTextAsync() after hitting F12. The file tab has [SourceLink] in the name so I assume it's using that. I just get the message that no symbols have been loaded. In the module list during runtime for System.Private.CoreLib.dll it says it skipped loading symbols, so I click Load Symbols. Now it says they're loaded. Still getting the "can't hit breakpoint, no symbols" error message. Is this because the module has Optimized=true?
2 replies