150 likes | 293 Views
Advanced Debugging with Visual Studio 2013 Preview. Danijel Malik SSW Solution Architect Visual Studio ALM MVP. Agenda. What’s new (for debugging)? Basics (Breakpoints, Data tips, Visualizers) Debug Windows (Watches, Call Stack, Code Map,…) Code interaction with Visual Studio Debugger
E N D
Advanced Debuggingwith Visual Studio 2013 Preview Danijel Malik SSW Solution Architect Visual Studio ALM MVP Delivering Awesome Web Applications
Agenda What’s new (for debugging)? Basics (Breakpoints, Data tips, Visualizers) Debug Windows (Watches, Call Stack, Code Map,…) Code interaction with Visual Studio Debugger Multi-threaded & Parallel debugging IntelliTrace Remote Debugging & Memory Dump Delivering Awesome Web Applications
What’s new? x64 Edit & Continue View method return values (in Autos) Debug Managed Memory Code Map Debugging Delivering Awesome Web Applications
Breakpoints • Location (F9) • Condition • Hit Count • Filter • When Hit (printing) • Break at Function • Labels • Export & Import Delivering Awesome Web Applications
Data Tips • What they are? • Pin any value • Custom expressions • Comments • Export & Import Delivering Awesome Web Applications
Debug Windows • Watches (Basic and Parallel), Breakpoints, Call Stack, Immediate Window • Code Map • Application Thumbnail • Threads • Parallel Tasks & Stack • Exceptions Window Delivering Awesome Web Applications
Code Interaction with Debugger • Debugger.Break • DebuggerDisplayAttribute • DebuggerTypeProxy • DebuggerVisualizer Delivering Awesome Web Applications
Multi-threaded and Parallel debugging • Tasks (async / await) • Threading • Parallel.For() / Parallel.ForEach() Delivering Awesome Web Applications
IntelliTrace • In Visual Studio • Standalone Collector • Download http://go.microsoft.com/fwlink/?LinkID=245688 • Extract the package and set permissions • Run in PowerShell and collect the data. • Open the .iTrace file in Visual Studio Delivering Awesome Web Applications
Remote Debugger • Download the “Remote Tools for Visual Studio 2013 preview” • http://bit.ly/187fdCF • Configure the Remote Debugger • How to run? • Run from existing solution file • Open EXE as solution file Delivering Awesome Web Applications
Memory Dump • Create a Memory Dump • from Task Manager (x86 or x64 version) • from EXE • Open in Visual Studio • Debug with Managed Memory (new to Visual Studio 2013) • Debug with Managed • Debug with Mixed Delivering Awesome Web Applications
Summary • Some new things like Edit & Continue for x64 • Breakpoints, Data tips, Visualizers • Debug Windows • Code Interaction with Visual Studio Debugger • Multi-threaded & Parallel debugging • IntelliTrace • Remote Debugging & Memory Dump Delivering Awesome Web Applications
Thank You! @DanijelMalik http://arkcore.wordpress.com
Q & A 1-888-5-NETCOM (563-8266) info@netcomlearning.com www.NetComLearning.com