Advanced Debugging
with Visual Studio 2013 Preview
Danijel Malik
SSW Solution Architect
Visual Studio ALM MVP
Delivering A...
Delivering Awesome Web Applications
 What’s new (for debugging)?
 Basics (Breakpoints, Data tips, Visualizers)
 Debug W...
Delivering Awesome Web Applications
 x64 Edit & Continue
 View method return values (in Autos)
 Debug Managed Memory
 ...
Breakpoints
 Location (F9)
 Condition
 Hit Count
 Filter
 When Hit (printing)
 Break at Function
 Labels
 Export &...
Data Tips
 What they are?
 Pin any value
 Custom expressions
 Comments
 Export & Import
Delivering Awesome Web Applic...
Debug Windows
 Watches (Basic and Parallel), Breakpoints, Call
Stack, Immediate Window
 Code Map
 Application Thumbnail...
Code Interaction with Debugger
 Debugger.Break
 DebuggerDisplayAttribute
 DebuggerTypeProxy
 DebuggerVisualizer
Delive...
Multi-threaded and Parallel debugging
 Tasks (async / await)
 Threading
 Parallel.For() / Parallel.ForEach()
Delivering...
IntelliTrace
 In Visual Studio
 Standalone Collector
 Download http://go.microsoft.com/fwlink/?LinkID=245688
 Extract ...
Remote Debugger
 Download the “Remote Tools for Visual Studio 2013
preview”
 http://bit.ly/187fdCF
 Configure the Remot...
Memory Dump
 Create a Memory Dump
 from Task Manager (x86 or x64 version)
 from EXE
 Open in Visual Studio
 Debug wit...
Summary
 Some new things like Edit & Continue for x64
 Breakpoints, Data tips, Visualizers
 Debug Windows
 Code Intera...
Delivering Awesome Web Applications
Thank You!
Sydney | Melbourne | Brisbane | Adelaide
info@ssw.com.au
www.ssw.com.au
Delivering Awesome Web Applications
3 things
• @DanijelMalik
• DanijelMalik@ssw.com.au
• http://arkcore.wordpress.com
Upcoming SlideShare
Loading in …5
×

Advanced Debugging with Visual Studio 2013 Preview

2,507 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,507
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
42
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Advanced Debugging with Visual Studio 2013 Preview

  1. 1. Advanced Debugging with Visual Studio 2013 Preview Danijel Malik SSW Solution Architect Visual Studio ALM MVP Delivering Awesome Web Applications
  2. 2. 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
  3. 3. Delivering Awesome Web Applications  x64 Edit & Continue  View method return values (in Autos)  Debug Managed Memory  Code Map Debugging What’s new?
  4. 4. Breakpoints  Location (F9)  Condition  Hit Count  Filter  When Hit (printing)  Break at Function  Labels  Export & Import Delivering Awesome Web Applications
  5. 5. Data Tips  What they are?  Pin any value  Custom expressions  Comments  Export & Import Delivering Awesome Web Applications
  6. 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. 7. Code Interaction with Debugger  Debugger.Break  DebuggerDisplayAttribute  DebuggerTypeProxy  DebuggerVisualizer Delivering Awesome Web Applications
  8. 8. Multi-threaded and Parallel debugging  Tasks (async / await)  Threading  Parallel.For() / Parallel.ForEach() Delivering Awesome Web Applications
  9. 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. 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. 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. 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. 13. Delivering Awesome Web Applications Thank You! Sydney | Melbourne | Brisbane | Adelaide info@ssw.com.au www.ssw.com.au
  14. 14. Delivering Awesome Web Applications 3 things • @DanijelMalik • DanijelMalik@ssw.com.au • http://arkcore.wordpress.com

×