Supercharge your debugging in Visual Studio 2017

This video has way too few views! In it, Jackson Davis teaches us ...

... that F10/F11 starts your debugging session at the first executable statement - Main, Startup, Global Application_Start ...

... that Step into specific is talking about Methods (not threads, processes or something else).

... that you can transform breakpoints into tracepoints - points in your executable that automatically prints out logging statements without breaking ...

... that you can avoid side effects in your watch window, by using a no side effects formatter ...

... that your Locals window also show return values and that you can use $ReturnValue1-N (e.g. $ReturnValue3) in your Immediate and Watch windows to show the last, previous, previous-previous return value etc. ...

... that the DebuggerDisplayAttribute supports format specifiers too ...

... that you can conditionally break when a certain object instance is in scope ...

... that you can live debug your release built apps in Azure in production without blocking your users, using a near-magical snapshot feature ...

... and more! Check it out!


Comments

Popular posts from this blog

Auto Mapper and Record Types - will they blend?

Unit testing your Azure functions - part 2: Queues and Blobs

Testing WCF services with user credentials and binary endpoints