1 / 24

Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace

DEV 320. Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace. Mickey Gousset Senior Technical Developer Infront Consulting Group. Agenda. Who Am I Visual Studio 2010 Debugging Features IntelliTrace – The Basics IntelliTrace and Testers

reegan
Download Presentation

Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. DEV 320 Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace Mickey Gousset Senior Technical Developer Infront Consulting Group

  2. Agenda • Who Am I • Visual Studio 2010 Debugging Features • IntelliTrace – The Basics • IntelliTrace and Testers • IntelliTrace and Team Build • Creating Custom IntelliTrace Events

  3. Who Am I • Mickey Gousset • Senior Technical Developer at Infront Consulting Group • Microsoft Application Lifecycle Management MVP • http://www.teamsystemrocks.com • Twitter: mickey_gousset • Live Messenger: mickey_gousset@hotmail.com • Author/Writer • “Professional Application Lifecycle Management with Visual Studio 2010” – Wrox • “Inside TFS” column at VisualStudioMagazine.com

  4. Visual Studio 2010 Debugging Features • 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

  5. Visual Studio 2010 Debugging Features Mickey Gousset Senior Technical Developer Infront Consulting Group demo

  6. IntelliTrace – The Basics • Helps eliminate the “no repro” scenario • Basic Idea: capture debugger state information during program execution

  7. IntelliTrace – What Is Collected • Collects: • IntelliTrace Events • Method entry/exit calls • Breakpoints

  8. IntelliTrace – The Basics Mickey Gousset Senior Technical Developer Infront Consulting Group demo

  9. 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

  10. IntelliTrace and Testers Mickey Gousset Senior Technical Developer Infront Consulting Group demo

  11. 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

  12. 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

  13. IntelliTrace and Team Build Mickey Gousset Senior Technical Developer Infront Consulting Group demo

  14. Creating Custom IntelliTrace Events • IntelliTrace ships with predefined collection events • The framework exists to create custom collection events • WARNING!!!!! • This functionality is not officially supported • There is no official documentation (such as at MSDN) • How this is implemented could change in a later Visual Studio Release • So, if you aren’t scared off yet…….

  15. Creating Custom IntelliTrace Events • CollectionPlan.xml • Contains a list of events (a.k.a. methods) that IntelliTrace should trace • Have to reload Visual Studio after a change to this file • Declare a new Category • Declare a new Module • Assembly where IntelliTrace looks to find events • Declare a new DiagonisticEventSpecification • Specifies the method to trace • This does the heavy lifting

  16. Creating Custom IntelliTrace Events Mickey Gousset Senior Technical Developer Infront Consulting Group demo

  17. Wrapping Up • Who Am I • Visual Studio 2010 Debugging Features • IntelliTrace – The Basics • IntelliTrace and Testers • IntelliTrace and Team Build • Creating Custom IntelliTrace Events

  18. Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC. Related Content • DEV 365-HOL | Debugging with IntelliTrace using Microsoft Visual Studio 2010 Ultimate • Find me at the TLC, or email me at mickey.gousset@infrontconsulting.com to set a time to meet up.

  19. DEV Track Resources • http://www.microsoft.com/visualstudio • http://www.microsoft.com/visualstudio/en-us/lightswitch • http://www.microsoft.com/expression/ • http://blogs.msdn.com/b/somasegar/ • http://blogs.msdn.com/b/bharry/ • http://www.microsoft.com/sqlserver/en/us/default.aspx • http://www.facebook.com/visualstudio

  20. Resources • Connect. Share. Discuss. http://northamerica.msteched.com Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn

  21. Complete an evaluation on CommNet and enter to win!

More Related