Advanced debugging with visual studio 2013 preview
This presentation is the property of its rightful owner.
Sponsored Links
1 / 14

Advanced Debugging with Visual Studio 2013 Preview PowerPoint PPT Presentation


  • 95 Views
  • Uploaded on
  • Presentation posted in: General

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


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)

[email protected]

www.NetComLearning.com


  • Login