![Page 1: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/1.jpg)
Advanced Debuggingwith Visual Studio 2013 Preview
Danijel MalikSSW Solution Architect
Visual Studio ALM MVP
Delivering Awesome Web Applications
![Page 2: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/2.jpg)
Delivering Awesome Web Applications
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
Agenda
![Page 3: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/3.jpg)
Delivering Awesome Web Applications
x64 Edit & Continue View method return values (in Autos) Debug Managed Memory Code Map Debugging
What’s new?
![Page 4: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/4.jpg)
Breakpoints
Location (F9) Condition Hit Count Filter When Hit (printing) Break at Function Labels Export & Import
Delivering Awesome Web Applications
![Page 5: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/5.jpg)
Data Tips
What they are? Pin any value Custom expressions Comments Export & Import
Delivering Awesome Web Applications
![Page 6: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/6.jpg)
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
![Page 7: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/7.jpg)
Code Interaction with Debugger
Debugger.Break DebuggerDisplayAttribute DebuggerTypeProxy DebuggerVisualizer
Delivering Awesome Web Applications
![Page 8: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/8.jpg)
Multi-threaded and Parallel debugging
Tasks (async / await) Threading Parallel.For() / Parallel.ForEach()
Delivering Awesome Web Applications
![Page 9: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/9.jpg)
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
![Page 10: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/10.jpg)
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
![Page 11: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/11.jpg)
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
![Page 12: Advanced Debugging with Visual Studio 2013 Preview](https://reader035.vdocuments.site/reader035/viewer/2022081505/56815dc3550346895dcbeec1/html5/thumbnails/12.jpg)
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