parallel debugging in vs2010

6
Parallel Debugging in VS2010 Two new debugger toolwindows Support both native and managed “Parallel Stacks” Call stacks of all threads or tasks “Parallel Tasks” Scheduled, Running and Waiting

Upload: angie

Post on 25-Feb-2016

64 views

Category:

Documents


0 download

DESCRIPTION

Parallel Debugging in VS2010. Two new debugger toolwindows Support both native and managed “Parallel Stacks” Call stacks of all threads or tasks “Parallel Tasks” Scheduled, Running and Waiting. demo. New Debug ger toolwindows. Parallel Tasks. Thread Assignment. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Parallel  Debugging  in VS2010

Parallel Debugging in VS2010

Two new debugger toolwindowsSupport both native and managed

“Parallel Stacks”Call stacks of all threads or tasks

“Parallel Tasks”Scheduled, Running and Waiting

Page 2: Parallel  Debugging  in VS2010

New Debugger toolwindows

demo

Page 3: Parallel  Debugging  in VS2010

IdentifierTask Entry Point

Parent IDThread Assignment

Current Task

Flagging

Item contextmenu

Status

Task’s thread is frozen

Parallel Tasks

Location + Stacktip

Tooltip shows info on waiting/deadlocked status

Column contextmenu

BreakingTask

Page 4: Parallel  Debugging  in VS2010

Parallel Tasks

Support for TPL & PPL tasksHelps answer questions

What threads are executing my tasks?Where are my tasks running (location, call stack)?Which tasks are blocked?How many tasks are waiting to run?

Rich UIResizing, re-ordering, hiding, sorting, grouping, parent child view, flagging, copying

Page 5: Parallel  Debugging  in VS2010

Context menu

Parallel Stacks

active frame of other thread(s)

active frame of current thread

current frame

method tooltip

Zoom control

header tooltip Bird’s eye viewBlue highlights path of current thread/task

Page 6: Parallel  Debugging  in VS2010

Parallel Stacks

Support tasks, but also thread-based appsWhat it offers

Multiple call stacks in a single viewCoalescing of call stack prefixesTask-specific view (inc. task status)Easy navigation to any executing method

Rich UIGraphical representation, zooming, panning, bird’s eye view, flagging, tooltips