Advanced debugging with visual studio 2013 preview
Download
1 / 14

Advanced Debugging with Visual Studio 2013 Preview - PowerPoint PPT Presentation


  • 119 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Advanced Debugging with Visual Studio 2013 Preview' - randall-hampton


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 debugging with visual studio 2013 preview

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
Breakpoints

  • Location (F9)

  • Condition

  • Hit Count

  • Filter

  • When Hit (printing)

  • Break at Function

  • Labels

  • Export & Import

Delivering Awesome Web Applications


Data tips
Data Tips

  • What they are?

  • Pin any value

  • Custom expressions

  • Comments

  • Export & Import

Delivering Awesome Web Applications


Debug windows
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
Code Interaction with Debugger

  • Debugger.Break

  • DebuggerDisplayAttribute

  • DebuggerTypeProxy

  • DebuggerVisualizer

Delivering Awesome Web Applications


Multi threaded and parallel debugging
Multi-threaded and Parallel debugging

  • Tasks (async / await)

  • Threading

  • Parallel.For() / Parallel.ForEach()

Delivering Awesome Web Applications


Intellitrace
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
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
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
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
Thank You!

@DanijelMalik

http://arkcore.wordpress.com


Q & A

1-888-5-NETCOM (563-8266)

[email protected]

www.NetComLearning.com


ad