advanced debugging using intellitrace
DESCRIPTION
Visual Studio 2010 Ultimate provides a wealth of functionality for figuring out what is happening with your application or even being able to debug what happened up to that point with IntelliTrace. Pressing F5, adding the odd breakpoint and stepping through the application is about as far as they get when debugging. In this session, we will learn more about how to use the debugger and also IntelliTrace to track down those hard to spot errors fast.TRANSCRIPT
![Page 1: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/1.jpg)
![Page 2: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/2.jpg)
Advanced Debugging Using IntelliTrace
Patrick YongChief Technology Office | IPS Infonomicshttp://patrickyong.net
![Page 3: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/3.jpg)
Agenda
IntelliTrace – The Basics
IntelliTrace and Testers
IntelliTrace and Team Build
Visual Studio Debugging Tips
![Page 4: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/4.jpg)
Patrick Yong
SharePoint MVP
CTO, IPS InfonomicsSharePoint and Azure Training + Consultancy
Information + Record management outsourcing
http://www.ipsinfonomics.com
![Page 5: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/5.jpg)
What is IntelliTrace?
Helps eliminate the “no repro” scenario
Basic Idea: capture debugger state information during program execution
![Page 6: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/6.jpg)
What gets collected?
Collects:IntelliTrace Events
Method entry/exit calls
Breakpoints
![Page 7: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/7.jpg)
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
![Page 8: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/8.jpg)
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
![Page 9: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/9.jpg)
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
![Page 10: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/10.jpg)
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
![Page 11: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/11.jpg)
Questions & Answers
![Page 12: Advanced Debugging Using IntelliTrace](https://reader033.vdocument.in/reader033/viewer/2022051514/548f63b3b47959640d8b4ecc/html5/thumbnails/12.jpg)
We value your feedback!
Please remember to complete the overall conference evaluation form and return it to the Registration Counter.