Advanced Debugging Using IntelliTrace
Patrick YongChief Technology Office | IPS Infonomicshttp://patrickyong.net
Agenda
IntelliTrace – The Basics
IntelliTrace and Testers
IntelliTrace and Team Build
Visual Studio Debugging Tips
Patrick Yong
SharePoint MVP
CTO, IPS InfonomicsSharePoint and Azure Training + Consultancy
Information + Record management outsourcing
http://www.ipsinfonomics.com
What is IntelliTrace?
Helps eliminate the “no repro” scenario
Basic Idea: capture debugger state information during program execution
What gets collected?
Collects:IntelliTrace Events
Method entry/exit calls
Breakpoints
IntelliTrace and Testers - Scenario
Nightly Team Build runs
Tester run their test cases against the buildBehind the scenes while testing, IntelliTrace information is being captured
Tester files a bug with an attached IntelliTracefile
Developer opens the attached IntelliTrace log file
IntelliTrace and Team Build
Symbol Files.PDB files
Used during the debugging process
Includes Source File Names, Line Numbers and Local Variable Names
You should always keep your symbol files around
Symbol ServerCentral location for storing your PDB files
Essentially this is just a file share
Symbol and Source Servers
To Set Up a Symbol ServerCreate a file share to hold the PDB Files
Add this file share to the Build Definition in Team Build
Source Server IndexingModifies information in the PDB to include
Source Control provider information
Command-line utility to retrieve files (tf.exe)
Full TFS Version Control Repository Path including branch name
Version
Visual Studio Debugging Tips
Breakpoint LabelingAllows you to group/filter on a collection of breakpoints
Import/Export Breakpoints
Pinnable Data Tips
Import Export Data Tips
Conditional Breakpoints
Breakpoint Hit Count
Questions & Answers
We value your feedback!
Please remember to complete the overall conference evaluation form and return it to the Registration Counter.