Basic Intro to WinDbg

15
Emad Alashi EmadAshi.com DotNetArabi.com @emadashi

Transcript of Basic Intro to WinDbg

Page 1: Basic Intro to WinDbg

Emad Alashi

EmadAshi.com

DotNetArabi.com

@emadashi

Page 2: Basic Intro to WinDbg
Page 3: Basic Intro to WinDbg

WinDbg

Page 4: Basic Intro to WinDbg

PDBProcess/

Dump

WinDbg

extensions

Page 5: Basic Intro to WinDbg
Page 6: Basic Intro to WinDbg

Windows Software Development Kit (SDK) for Windows 8.1

Page 7: Basic Intro to WinDbg
Page 8: Basic Intro to WinDbg

Basics

Page 9: Basic Intro to WinDbg

Input (a)

Return addr

Low Address

High Address

Function Foo(int x, int y){ FooNext(10);}

Function FooNext(int a){

}Local (z)

Input (y)

Input (x)

Return addr

Call Stack

Page 10: Basic Intro to WinDbg

Type

Han

dle

Sync

Blo

c

Object in memory

Page 11: Basic Intro to WinDbg

T1 T81 T9 T235

Dump File

Page 12: Basic Intro to WinDbg

Capture Dumps

• DebugDiag• Task Manager• ADPlus• ProcDump• …

Page 13: Basic Intro to WinDbg

SOS & SOSEX

Page 14: Basic Intro to WinDbg

Symbol Source

Page 15: Basic Intro to WinDbg

DemoExceptions