1 / 14

Advanced Debugging with Visual Studio 2013 Preview

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

Download Presentation

Advanced Debugging with Visual Studio 2013 Preview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Advanced Debuggingwith Visual Studio 2013 Preview Danijel Malik SSW Solution Architect Visual Studio ALM MVP Delivering Awesome Web Applications

  2. 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

  3. What’s new? x64 Edit & Continue View method return values (in Autos) Debug Managed Memory Code Map Debugging Delivering Awesome Web Applications

  4. Breakpoints • Location (F9) • Condition • Hit Count • Filter • When Hit (printing) • Break at Function • Labels • Export & Import Delivering Awesome Web Applications

  5. Data Tips • What they are? • Pin any value • Custom expressions • Comments • Export & Import Delivering Awesome Web Applications

  6. 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

  7. Code Interaction with Debugger • Debugger.Break • DebuggerDisplayAttribute • DebuggerTypeProxy • DebuggerVisualizer Delivering Awesome Web Applications

  8. Multi-threaded and Parallel debugging • Tasks (async / await) • Threading • Parallel.For() / Parallel.ForEach() Delivering Awesome Web Applications

  9. 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

  10. 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

  11. 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

  12. 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

  13. Thank You! @DanijelMalik http://arkcore.wordpress.com

  14. Q & A 1-888-5-NETCOM (563-8266) info@netcomlearning.com www.NetComLearning.com

More Related