IntelliTrace collects debugging information like method calls and breakpoints during program execution to help developers reproduce bugs found by testers. Testers can attach IntelliTrace log files to bugs they file. Developers can then open these logs in Visual Studio to debug the issue using the captured state information. Team builds should keep symbol files, which map code to line numbers and variables, on a symbol server so developers have this information to effectively debug issues found in builds.
3. Agenda
IntelliTrace – The Basics
IntelliTrace and Testers
IntelliTrace and Team Build
Visual Studio Debugging Tips
4. Patrick Yong
SharePoint MVP
CTO, IPS Infonomics
SharePoint and Azure Training + Consultancy
Information + Record management outsourcing
http://www.ipsinfonomics.com
5. What is IntelliTrace?
Helps eliminate the “no repro” scenario
Basic Idea: capture debugger state information
during program execution
7. IntelliTrace and Testers - Scenario
Nightly Team Build runs
Tester run their test cases against the build
Behind the scenes while testing,
IntelliTrace information is being captured
Tester files a bug with an attached IntelliTrace
file
Developer opens the attached IntelliTrace log
file
8. 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 Server
Central location for storing your PDB files
Essentially this is just a file share
9. Symbol and Source Servers
To Set Up a Symbol Server
Create a file share to hold the PDB Files
Add this file share to the Build Definition in Team
Build
Source Server Indexing
Modifies 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
10. Visual Studio Debugging Tips
Breakpoint Labeling
Allows you to group/filter on a collection of
breakpoints
Import/Export Breakpoints
Pinnable Data Tips
Import Export Data Tips
Conditional Breakpoints
Breakpoint Hit Count