Download presentation
Presentation is loading. Please wait.
Published byPierre-Marie St-Arnaud Modified over 6 years ago
1
Super Charge Your Debugging in Visual Studio
12/1/2018 7:33 AM BRK3274 Super Charge Your Debugging in Visual Studio Kaycee Anderson Program Manger @KayceeSue © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Agenda Welcome Demos (70 mins)
Microsoft Build 2017 12/1/2018 7:33 AM Agenda Welcome Demos (70 mins) 40+ Tips and Tricks in Visual Studio 2017 Sneak Peek at a New Feature Coming Soon Resources © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
12/1/2018 7:33 AM Demo © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
4
Demo #1 – Execution Control
12/1/2018 7:33 AM Demo #1 – Execution Control Project Properties Launch Options Start with Stepping (F10 / F11) Return Values Set Next Statement (Ctrl+Shift+F10) Step Into Specific Run to Cursor (Crtl+F10) Run to Click *New in 2017 Click to Set Next Statement (hold Ctrl) *New in 2017 Edit and Continue Step Out (Shift+F11) Run to Cursor from Call Stack Debug from the Immediate Window © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
5
Demo #2 – Data Inspection
12/1/2018 7:33 AM Demo #2 – Data Inspection Debugger.IsAttached Debugger.Break Visualizers (6) , nq modifier Peek Definition (Alt + F12) DebuggerDisplay Attribute DataTips Transparency (Hold Ctrl) Pinning Make Object ID QuickWatch (Shift +F9) Reattach to Process *New in 2017 © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
6
Demo #3 – Breakpoints and Diagnostics
12/1/2018 7:33 AM Demo #3 – Breakpoints and Diagnostics Conditional Breakpoints Lambda Debugging Immediate Window PerfTips Diagnostic Tools window CPU tool Butterfly View *New in 2017 Memory tool Snapshots IntelliTrace Events Historical Debugging © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
7
Demo #4 - Exceptions Exception Settings Exception Helper *New in 2017
12/1/2018 7:33 AM Demo #4 - Exceptions Exception Settings Break When Thrown Exception Helper *New in 2017 Non-Modal Inner Exceptions *New in 2017 Conditions on Exceptions *New in 2017 From the Exception Helper From the Exception Settings Null Reference Analysis *New in 2017 For both .NET and C++ © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
8
Demo #5 – Multithreading Tips
12/1/2018 7:33 AM Demo #5 – Multithreading Tips Parallel Stacks Window Parallel Watch Window Show Threads in Source Threads Window Freeze and Thaw Threads Switching Active Thread Stepping vs. Breakpoints © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
9
Sneak Peak at Step Back! Sign up to be the first to try it!
12/1/2018 7:33 AM Sneak Peak at Step Back! Coming to IntelliTrace with Visual Studio Enterprise Sign up to be the first to try it! © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
Resources Debugger blog: aka.ms/diagnosticsBlog
Microsoft Build 2017 12/1/2018 7:33 AM Resources Debugger blog: aka.ms/diagnosticsBlog Code from this demo: aka.ms/vsdiagsamples Project Archive Visual Studio Blog: blogs.msdn.com/visualstudio Lesser Known Tips: aka.ms/superchargeYourDebugging Other Sessions: BRK 3187 – OCCC S230 Snapshot Debugging and Microsoft Azure diagnostics in Action © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
Questions? Come up and say “Hi” right after this
12/1/2018 7:33 AM Questions? Come up and say “Hi” right after this @KayceeSue © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
12
Please evaluate this session
Tech Ready 15 12/1/2018 Please evaluate this session From your Please expand notes window at bottom of slide and read. Then Delete this text box. PC or tablet: visit MyIgnite Phone: download and use the Microsoft Ignite mobile app Your input is important! © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
13
12/1/2018 7:33 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.