From the course: Visual Studio 2019 Essential Training
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Evaluate performance with PerfTips - Visual Studio Tutorial
From the course: Visual Studio 2019 Essential Training
Evaluate performance with PerfTips
- [Narrator] PerfTips provide just-in-time feedback on the performance of your app during development. They are continuously available while debugging your code and don't require a separate profiling run. PerfTips show you the elapsed time between breakpoints or the time it takes to step through your code. To demonstrate, I'll run this WPF application. When I click on this Start Demo button, I'll fill these two ListBoxes with information. I already know that the ListBox on the right side takes longer to fill with the generated robot names. Let's see that in action. That tells me there's something wrong with the code that's filling this ListBox, and I would like to investigate and see what's happening. So I'll stop the application, switch over to my code, put a breakpoint on line 15 by pressing F9, then restart the application. And click the button. Now I'm sitting here, waiting at this breakpoint, and I'm ready to move down to line 16, so I'll press F10. And there's our first PerfTip,…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
Set the start-up project49s
-
Use breakpoints effectively6m 27s
-
Step through code in the debugger7m 21s
-
Modify code while debugging with Edit and Continue3m 32s
-
See debug information with DataTips4m 51s
-
Use the Watch, Locals, and Autos windows5m 13s
-
Beyond the basic breakpoint9m 2s
-
Evaluate performance with PerfTips3m 50s
-
-