C
C#2mo ago
Ryan Chen

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.
3 Replies
blueberriesiftheywerecats
maybe your code throws exception? in that case debugger can jump over lines to the end of scope
Ryan Chen
Ryan Chen2mo ago
I want to learn the code in runtime/libs by debugging, but the debugging process often skips multiple lines of code. I also don't encounter any exceptions, and the program is running normally.
blueberriesiftheywerecats
try using f10, when you use f11 it goes into every function so maybe it seems that it skips smth
Want results from more Discord servers?
Add your server