Fabricio CataePremier Field Engineer
Learn Debuggingin 60 minutesFor SQL Server professionals
Who I am
Me Microsoft Travel
Weekends Baseball Friends
Software BugsImpossível evitá-los...
Erros Genéricos
Sempre podem ocorrer...Afetam qualquer pessoa
Qual ação tomar?
Solução: Debugging
Dump Files
• Cópia da memória da aplicação• Guarda informação das threads
Usado somente como último recurso
Agenda: Learn DebuggingBasic Advanced Real World Scenarios
in 60 minutes
SQL Requests
Easy to find the problem – see the wait type
Stack Dump
Raw Symbols
Compilation OutputImages Symbols
Where to Find Symbols?
http://msdl.microsoft.com/download/symbols
http://symweb
Lab.sympath
~ / ~0s
k
~*k
lm / lml
Stack Analysis
Slow Performance
Start looking the DLL’s involved
Identify the transitions
Find the wait type
Thread Analysis
SyncDriverEnter RequestOCIWork ?
Problem AnalysisPAGEIOLATCH_SH PAGEIOLATCH_EX
Debugging SkillProduct internals
Problem Solving with WinDBG
Assembly languageWindows programming
Ramp-up: 1-2 years