What's New in Visual Studio 2010 Debugging Brian Peek Senior Consultant, ASPSOFT, Inc. Microsoft MVP - C#

Slides:



Advertisements
Similar presentations
Ofir Aspis 1/2010 VS 2010 Targets High Level - IDE New Features VS 2010 As Editor and Platform Demo Editor features Extending.
Advertisements

Creating a Dialog-Based Comet Windows Program Brian Levantine.
CS 450 MPX P ROJECT Introduction to Turbo C. W HY USE T URBO C? Many ANSI C compilers are available for free, however they lack certain features that.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
2010 Microsoft Student Partners. T OPICS - User Interface and Editor Improvements - New windows: Call Hierarchy, Navigate To - IntelliSense - Generate.
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Visual Studio 2010 and.NET Framework 4 Training Workshop.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
What’s New In Visual Studio 2010 Denys Kholod Technology Expert Hmarasoft.com.
Oracle9 i JDeveloper for Database Developers and DBAs Brian Fry Principal Product Manager Oracle JDeveloper Oracle Corporation.
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
111 EMC CONFIDENTIAL—INTERNAL USE ONLY NMC -- NW Administration NMC Team NetWorker 7.3 TOI July 28, 2005.
Lecture Set 2 Part B – Configuring Visual Studio; Configuration Options and The Help System (scan quickly for future reference)
Scalable Game Development William Roberts Senior Game Engineer
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
Visual Studio 2010 and.NET Framework 4 Training Workshop.
DDT Debugging Techniques Carlos Rosales Scaling to Petascale 2010 July 7, 2010.
Active-HDL Interfaces Debugging C Code Course 10.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
05 | Administer Version Control Steven Borg | Co-founder & Strategist, Northwest Cadence Anthony Borton | ALM Consultant, Enhance ALM.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Tutorial For Version 10.0 and later.
A Tutorial on Introduction to gdb By Sasanka Madiraju Graduate Assistant Center for Computation and Technology.
Debugging Xin Tong. GDB GNU Project debugger Allows you to see what is going on `inside' another program while it executes or crashed. (Faster than printing.
Bit-DSP-MicrocontrollerTMS320F2812 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH)
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
Debugging Ensemble Productions CAMTA Meeting 11 th November 2010 John Murray.
Msdevcon.ru#msdevcon. ИЗ ПЕРВЫХ РУК: ДИАГНОСТИКА ПРИЛОЖЕНИЙ С ПОМОЩЮ ИНСТРУМЕНТОВ VISUAL STUDIO 2012 MAXIM GOLDIN Senior Developer, Microsoft.
Parallel Debugging in VS2010 Two new debugger toolwindows Support both native and managed “Parallel Stacks” Call stacks of all threads or tasks “Parallel.
Introducing Visual Studio 2010: What It Is and Why You Should Care
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Visual Basic Integrated Development Environment (IDE) 56:150 Information System Design.
1 Advanced.Net Debugging Using Visual Studio, R# and OzCode IT Week, Summer 2015.
Brian A. Randell Senior Consultant MCW Technologies SESSION CODE: DEV311.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Agafonov Viacheslav. Objectives: ◦ Understand the new features and improvements in Visual Studio 2010 ◦ Understand useful tips.
Danijel Malik Visual Studio ALM MVP What’s new in Visual Studio 2013 and Team Foundation Server 2013.
Debugging using By: Samuel Ashby. What is debugging?  A bug is an error in either a program or the hardware itself.  Debugging is first locating and.
Exploreengage elevate explore engage elevate Presented By: Laura Murphy, Turnkey Technologies.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Improving Your Application with IntelliTrace #ITDevConnections.
1/21/2018 6:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Dive Into® Visual Basic 2010 Express
Visual Studio 2010 and .NET Framework 4 Training Workshop
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Microsoft Visual Studio Tips and Tricks
Using Visual Studio with C#
Important terms Black-box testing White-box testing Regression testing
Important terms Black-box testing White-box testing Regression testing
Les liens typés entre Work Items
Microsoft Test and Lab Manager : Exécution de cas de tests
Architecture Explorer
Debugging Taken from notes by Dr. Neil Moore
CSC235 - Visual Studio Tutorial
VISUAL STUDIO 2010 Le service de build.
Visual Studio 2010 and .NET Framework 4 Training Workshop
DEV354 Visual Studio 2005: New Enhancements For Debugging Applications
Debugging Taken from notes by Dr. Neil Moore
virtual techdays INDIA │ November 2010
Windows Service Applications
Visual Studio 2010 和 .NET Framework 4 培训研讨会
Fast-Track UiPath Developer Module 2: Getting to Know UiPath Studio
What’s New in Visual Studio
Presentation transcript:

What's New in Visual Studio 2010 Debugging Brian Peek Senior Consultant, ASPSOFT, Inc. Microsoft MVP - C# Level: Intermediate

Agenda New UI features –Call Hierarchy –Sequence Diagrams –Dependency Graphs –Variable Pinning –Breakpoint Enhancements Output Window WPF Tree Visualizer Parallel Tasks / Stacks / Threads IntelliTrace / Historical debugging Not going to have a lot of slides, but will demonstrate each item live

Call Hierarchy Available on context-menu at all times View calls to/from methods and navigate to locations

Sequence Diagrams Available on context-menu at all times Diagram of call structure

Dependency Diagrams Available in VS2010 Ultimate only Architecture -> Generate Dependency Graph

Pinning Pin variables to the IDE –Add comments –Edit values –Saved across sessions –Last value shown at next session –Can be imported and exported

Breakpoints Breakpoints can now be named and grouped Breakpoints can be imported and exported

Output Window IDE now allows setting levels of output for specific bits of information

WPF Tree Visualizer Use the standard magnifying glass icon in a watch window on the WPF item

Multiple Monitors Drag any window (debugger, editor, etc.) out of the IDE and place it on any monitor Windows are easily re-docked back into IDE

Parallel Stacks Parallel Stacks window shows currently executing threads and tasks in the application Shows graph of executing threads as well as call stacks for each thread This window can be used in conjunction with the standard Threads and Call Stack window to get additional information, or you can drill down from this window for call stack info Blue highlight shows path of current task/thread

Parallel Stacks

Parallel Tasks When using the new Task Parallel Library additions to.NET4, this window will show currently executing Tasks, their running status, the owning thread, and tons of other information Threads can be frozen Ability to “flag” tasks and interact with in Parallel Stacks window

Parallel Tasks

IntelliTrace (Historical Debugging) Only available in VS2010 Ultimate Creates tracing logs which can be viewed in IDE showing application execution Inspect variables during the process Run through debugger as though it were executing through your machine directly 32-bit / x86 ONLY!!

IntelliTrace Latest Azure SDK supports deploying services with IntelliTrace enabled Microsoft Test Manager and VS2010 Unit tests can use IntelliTrace If you want to use on a machine without VS2010, requires some extra hacking that isn’t supported (and perhaps not licensed…) –Great post by Naveen Srinivasan:

Configuring IntelliTrace IntelliTrace can be configured from the standard Tools -> Options dialog Different levels of tracing available –By default, traces specific IntelliTrace Events only –Can turn on “call information”, but much slower –Can specify exactly what events are traced or ignored –Can also specify what modules are traced or ignored

Configuring IntelliTrace Fine-grained control over which events are collected

Using IntelliTrace Run your application in debug mode in VS When breakpoint is hit or debugging is paused, view the IntelliTrace tab for what events have been collected since the start of the debug session Pull out interesting data like executed SQL automatically, even with LINQ Search for a specific line of code Navigate through code with icons in editor gutter View local variables in each method

Using IntelliTrace By loading an IntelliTrace “iTrace” file, you can view and use IntelliTrace information directly These are stored on the local hard drive at location specified in configuration, or can be attached to bugs when using Test Manager and TFS

IntelliTrace Sample Output

Links Me – Slides – New debugging features – MSDN Article on IntelliTrace – Information on Parallel debugging –