Debugging in .NET - Glimpse

Post on 25-Jun-2015

450 views 0 download

Tags:

description

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." -- Brian Kernighan. Join us as we try and defy the odds and make Debugging in .NET something that is fun once again. We will look at the various tricks and tools we can use to understand our site, find hard to get bottlenecks and much more.

Transcript of Debugging in .NET - Glimpse

DEBUGGINGIN.NET

HELLOmy name is Anthony van der Hoorn

@anthony_vhd

DIAGNOSTICSis one of the

things we dohardest

“Debugging is twice as hard as writing the code in the first place.

Therefore, if you write the code as cleverly as possible,

you are, by definition, not smart enough to debug it. ”

-- BRIAN KERNIGHAN

40 - 60% of our time is spent debugging

DEBUGGINGvs.

CREATIVITY

SIMPLEthe web

isn’t

DEBUGGINGTRACING

INSTRUMENTATION

vs.

vs.

ABOUTwhat are we talking

BREAKPOINTS

Visual Studio

LOG FILES

NDepend

CODE ANALYSIS

NDepend

20 Yearsdebugging & diagnosticshaven‘t really changed in the last

20 Yearsthese don’t address the evolution we have seen in the last

LOWtoo

LEVEL

BLUNTvery

INSTRUMENTS

BREAKPOINTS

Visual Studio

LOG FILES

NDepend

DYNAMICruntime is

COMPLICATEDruntime is only getting more

COMPLEX&

CODE ANALYSIS

NDepend

BETTERlet‘s do

REALLYwhat do we

WANT

REQUESTSget a picture of our

EXPECTED

know our

frameworks & coderan the way we

DATAaggregate request

CLIENTbridging

SERVER&

DIAGNOSTICSbetter

20 Yearslet‘s learn from the last

GLIMPSEenter

DEMO

NOWwhat do we have

informationhas different

LEVELS

ft view10,000 HUD

ft view10,000ft view8,000

HUDTimeline

ft view10,000ft view8,000

HUDTimeline

ft view5,000 Tabs

ft view10,000ft view8,000

HUDTimeline

ft view5,000 Tabsft view2,000 Trace

ft view10,000ft view8,000

HUDTimeline

ft view5,000 Tabsft view2,000 Trace

ft view1 Existing Tools

development

differentMODES of

LEARNER

LEARNER DEBUGGER

LEARNER DEBUGGER

DEVELOPER

diagnostics

for the webPLATFORM

multi framework

ECOSYSTEM

atUNDERSTANDING

TARGETEDinformation

crossbrowser

crossbrowsercrossPlatform

crossbrowsercrossPlatformfullstack

OPEN SOURCEFREE

and

AWESOME

goFORTH

and be

please leaveFEEDBACK

THANK YOU

@anthony_vdh