Download
1 / 24

Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace - PowerPoint PPT Presentation


  • 252 Views
  • Uploaded on

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

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace' - reegan


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Demystifying debugging with microsoft visual studio ultimate and intellitrace l.jpg

DEV 320

Demystifying Debugging with Microsoft Visual Studio Ultimate and IntelliTrace

Mickey Gousset

Senior Technical Developer

Infront Consulting Group


Agenda l.jpg
Agenda

  • Who Am I

  • Visual Studio 2010 Debugging Features

  • IntelliTrace – The Basics

  • IntelliTrace and Testers

  • IntelliTrace and Team Build

  • Creating Custom IntelliTrace Events


Who am i l.jpg
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: [email protected]

  • Author/Writer

    • “Professional Application Lifecycle Management with Visual Studio 2010” – Wrox

    • “Inside TFS” column at VisualStudioMagazine.com


Visual studio 2010 debugging features l.jpg
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


Visual studio 2010 debugging features6 l.jpg

Visual Studio 2010 Debugging Features

Mickey Gousset

Senior Technical Developer

Infront Consulting Group

demo


Intellitrace the basics l.jpg
IntelliTrace – The Basics

  • Helps eliminate the “no repro” scenario

  • Basic Idea: capture debugger state information during program execution


Intellitrace what is collected l.jpg
IntelliTrace – What Is Collected

  • Collects:

    • IntelliTrace Events

    • Method entry/exit calls

    • Breakpoints


Intellitrace the basics9 l.jpg

IntelliTrace – The Basics

Mickey Gousset

Senior Technical Developer

Infront Consulting Group

demo


Intellitrace and testers scenario l.jpg
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


Intellitrace and testers l.jpg

IntelliTrace and Testers

Mickey Gousset

Senior Technical Developer

Infront Consulting Group

demo


Intellitrace and team build l.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 Server

    • Central location for storing your PDB files

    • Essentially this is just a file share


Symbol and source servers l.jpg
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


Intellitrace and team build14 l.jpg

IntelliTrace and Team Build

Mickey Gousset

Senior Technical Developer

Infront Consulting Group

demo


Creating custom intellitrace events l.jpg
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…….


Creating custom intellitrace events16 l.jpg
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


Creating custom intellitrace events17 l.jpg

Creating Custom IntelliTrace Events

Mickey Gousset

Senior Technical Developer

Infront Consulting Group

demo


Wrapping up l.jpg
Wrapping Up

  • Who Am I

  • Visual Studio 2010 Debugging Features

  • IntelliTrace – The Basics

  • IntelliTrace and Testers

  • IntelliTrace and Team Build

  • Creating Custom IntelliTrace Events


Related content l.jpg

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


Dev track resources l.jpg
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


Resources l.jpg
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


Slide22 l.jpg

Complete an evaluation on CommNet and enter to win!


ad