Advanced Debugging Using IntelliTrace

1,247 views

Published on

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.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,247
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Advanced Debugging Using IntelliTrace

  1. 1. Advanced Debugging UsingIntelliTrace Patrick Yong Chief Technology Office | IPS Infonomics http://patrickyong.net
  2. 2. Agenda IntelliTrace – The Basics IntelliTrace and Testers IntelliTrace and Team Build Visual Studio Debugging Tips
  3. 3. Patrick Yong SharePoint MVP CTO, IPS Infonomics SharePoint and Azure Training + Consultancy Information + Record management outsourcing http://www.ipsinfonomics.com
  4. 4. What is IntelliTrace? Helps eliminate the “no repro” scenario Basic Idea: capture debugger state information during program execution
  5. 5. What gets collected? Collects: IntelliTrace Events Method entry/exit calls Breakpoints
  6. 6. 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
  7. 7. 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
  8. 8. 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
  9. 9. 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
  10. 10. Questions & Answers
  11. 11. We value your feedback!Please remember to complete theoverall conference evaluation form andreturn it to the Registration Counter.

×