Ryan Chen
Ryan Chen
CC#
Created by Ryan Chen on 7/23/2024 in #help
Visual Studio debug question
Why does Visual Studio skip many lines of code or even terminate debugging after pressing F11 when debugging? I have Source Link and Suppress JIT optimization enabled and Just My Code disabled. And I remove all symbol files from %Temp%/SymbolCache.
4 replies
CC#
Created by Ryan Chen on 7/18/2024 in #help
How to debug runtime/libs in Visual Studio?
My goal is to learn the source code in runtime/libs through debugging, but I am having difficulties with it. Can I directly create a console application and reference the project for debugging? According to the workflow, I need to load dotnet.exe from the .dotnet directory into the solution and configure it for debugging. However, during the debugging process, I found that the symbol files don't seem to match the code I am debugging. What should I do?
7 replies