Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Build 2016 12/6/2018 4:22 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

Similar presentations


Presentation on theme: "Microsoft Build 2016 12/6/2018 4:22 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,"— Presentation transcript:

1 Microsoft Build 2016 12/6/2018 4:22 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Debugging Tips and Tricks for .NET Developers with Visual Studio
Microsoft Build 2016 12/6/2018 4:22 PM B806 Debugging Tips and Tricks for .NET Developers with Visual Studio Kaycee Anderson Program Manager © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 “Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it?” Brian Kernighan, Computer Scientist “As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.” Sir Maurice Wilkes, Computer Scientist

4 Agenda Welcome Demos (50 mins)
30+ Tips and Tricks in Visual Studio 2015 2 New Things in Visual Studio “15” Preview Resources

5 Demo #1 Project Properties Launch Options Start with Stepping
12/6/2018 4:22 PM Demo #1 Project Properties Launch Options Start with Stepping Return Values Set Next Statement Step Into Specific Run to Cursor Edit and Continue Step Out Run to Cursor from Call Stack Debug a Method 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.

6 Demo #2 Debugger.IsAttached Debugger.Break Visualizers (6)
12/6/2018 4:22 PM Demo #2 Debugger.IsAttached Debugger.Break Visualizers (6) Peek Definition (Alt + F12) DebuggerDisplay Attribute DataTips Transparency Pinning Make Object ID © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Demo #3 Conditional Breakpoints Lambda Debugging Immediate Window
12/6/2018 4:22 PM Demo #3 Conditional Breakpoints Lambda Debugging Immediate Window Multiple Project Launch Restart PerfTips Diagnostic Tools window Memory tool CPU tool Attend Become a Visual Studio Power User, March 31 6:30pm © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Demo #4 Diagnostic Tools Window Exception Settings Call Stack window
12/6/2018 4:22 PM Demo #4 Diagnostic Tools Window IntelliTrace Events Historical Debugging Exception Settings Call Stack window Async Call Show Parameter Values Show External Code New Exception Helper (Visual Studio “15” Preview) Conditions on Exceptions (Visual Studio “15” Preview) © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Questions? Come talk to me right after
12/6/2018 4:22 PM Questions? Come talk to me right after Come by the Debugging and Diagnostics Booth © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Help us improve the debugger
aka.ms/diagfb Subscriber Benefits: Opportunity to give feedback about future ideas Try out products and features before the general public

11 Share Your Story for Challenge Points
12/6/2018 Share Your Story for Challenge Points Give us 3 minutes of feedback about your work right after this session at the Flash Voting sign Join in on minutes in depth feedback sessions at the Visual Studio: Share Your Story booth Register in 2 minutes for Visual Studio feedback opportunities after build at © 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

12 Resources Team blog: http://aka.ms/diagnosticsBlog
Visual Studio Blog: Debugging Performance Issues Using Visual Studio Historical Debugging in Visual Studio 2015 with IntelliTrace

13 Please Complete An Evaluation Form Your input is important!
12/6/2018 Please Complete An Evaluation Form Your input is important! or © 2016 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

14 12/6/2018 4:22 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Microsoft Build 2016 12/6/2018 4:22 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,"

Similar presentations


Ads by Google