How to debug code c# in release mode on Visual Studio 2022

Way 1

In Visual Studio ➤ Tools ➤ Options... ➤ Debugging ➤ General ➤ Uncheck Enable Just My Code




Way 2

Right click Project > Properties > Uncheck Optimize Code


Reference Link: StackOverflow

Post a Comment

Previous Post Next Post