Debugging Visual Studio Debugger Tips and Tricks: pseudovariables There are two pseudovariables available in debugger when running C# or VB.NET project: $exception and $user. The former one relates to the last exception while the latter one displays information about the
Debugging Visual Studio Debugger Tips and Tricks: Tracepoints This time I want to present you Tracepoints in Visual Studio debugger. Tracepoints are special kind of break points which allows you to specify an action to execute when hit. The most common
Debugging Visual Studio Debugger Tips and Tricks: show parameter values in call stack window Today’s Tips’n’Trick is one which I value a lot. Lets say you are in the debugging session and you look at the Call Stack window to check what methods were
Debugging Visual Studio Debugger Tips and Tricks: Set Next Statement In the last Visual Studio Debugger Tips’n’Tricks I showed Run To Cursor option which allows for running debugger and breaking in selected line. Today I am going to present another option
Debugging Visual Studio Debugger Tips and Tricks: Run to Cursor Imagine, you are in the debugging mode and the next statement is a loop. You do not want to step into this loop and waste time on iterating over items but you also
Debugging Visual Studio Debugger Tips and Tricks: step into specific We all try to keep our code concise, so from time to time there is one line which calls several methods, like this one:PrintMessage(FormatResult(text, ReverseString(text))); When debugging your code
Debugging Visual Studio Debugger Tips and Tricks: step out How many times did you step into a method just to realise you didn’t want to? Sometimes it is a simple, short method and you can step through it. Other times it