Download presentation
Presentation is loading. Please wait.
Published byJohn Cobb Modified over 7 years ago
1
1/21/2018 6:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
2
Supercharge your debugging in Visual Studio 2017
1/21/2018 6:52 AM B8036 Supercharge your debugging in Visual Studio 2017 Kaycee Anderson Program Manager @KayceeSue aka.ms/SuperChargeYourDebugging © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Agenda Welcome Demos (50 mins)
Microsoft Build 2017 1/21/2018 6:52 AM Agenda Welcome Demos (50 mins) 30+ Tips and Tricks in Visual Studio 2017 Resources © 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
1/21/2018 6:52 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 Edit and Continue Step Out (Shift+F11) Run to Cursor from Call Stack © 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
1/21/2018 6:52 AM Demo #2 – Data Inspection Debugger.IsAttached Debugger.Break Visualizers (6) Peek Definition (Alt + F12) DebuggerDisplay Attribute DataTips Transparency (Hold Ctrl) Pinning Make Object ID QuickWatch (Shift +F9) © 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
1/21/2018 6:52 AM Demo #3 – Breakpoints and Diagnostics Conditional Breakpoints Lambda Debugging Immediate Window PerfTips Diagnostic Tools window CPU tool 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
1/21/2018 6:52 AM Demo #4 - Exceptions Exception Settings Break When Thrown Exception Helper Non-Modal Inner Exceptions Conditions on Exceptions From the Exception Helper From the Exception Settings Null Reference Analysis 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
1/21/2018 6:52 AM Demo #5 – Multithreading Tips Parallel Stacks Window Parallel Watch Window Show Threads in Source Threads Window Freeze and Thaw Threads 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
Resources Debugger blog: aka.ms/diagnosticsBlog
Microsoft Build 2017 1/21/2018 6:52 AM Resources Debugger blog: aka.ms/diagnosticsBlog Code from this demo: aka.ms/vsdiagsamples Visual Studio Blog: blogs.msdn.com/visualstudio Other Sessions: B8083 The Future of Visual Studio B8027 Snapshot Debugging and Profiling in Azure B8021 Coding at 88MPH: Tips and Tricks with Visual Studio 2017 B8019 Confidence at speed: Visual Studio 2017 and your CI pipeline © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
10
aka.ms/SuperChargeYourDebugging
Questions? Come up and say “Hi” right after this @KayceeSue Take this Survey to tell me more: aka.ms/SuperChargeYourDebugging © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11
1/21/2018 6:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.