Debugging like a Boss with Visual Studio!

There are a couple of things that I would like to go thru inthis post in what I consider the most important things to know while debugginga .net application in visual studio… In this post I will assume that you knowhow to attach to process and debug local processes that way.   Debugging remote processes…


Debugging Optimized Code in .NET

Sometime back I found myself trying to remotely debug a program thru visual studio, and while trying to access the value of one of the variables I got a message saying “Cannot evaluate expression because the code of the current method is optimized”… turns out that there are compilation flags that instruct the JIT to optimize…