Debugging Tips and Tricks Part 2

preview_player
Показать описание
In this episode (part 2 of 2), Robert is joined by Leslie Richardson, who shows several ways you can get the most out of Visual Studio's debugging tools. She shows a number of features, most of which have been in the product all along. Whether you are a new or experienced developer, you will see some things you can use to help solve issues in your code.

Рекомендации по теме
Комментарии
Автор

1 "Search" in the Locals/Watch/Auto window
2 Data breakpoint to track a value changing
(PS. you can also put a breakpoint at the setter if it does have one, while if not, the data breakpoint will help a lot)
3 Step into Specific
4 $ReturnValue in the watch window

lixin
Автор

Data breakpoint is really really useful

NextProgrammer
Автор

Great tips, I really like"step into specific" and the tricks with the Local and Watch windows.
Thanks for the really big efforts in this channel.

salihkarabilo
Автор

Please add data breakpoints to full framework!

ericvenneker
Автор

Another great video. MS really should create one single page containing every new feature in each version of VS/.Net framework.

julianocs
Автор

It was nice 2 parts, some useful hints, thanks a lot for the content. One small note - regarding last week video (part 1). Well, Robert and Leslie are wearing same cloth (no judging here from my side :), laptop stays exactly at the same place as it used to be, the way wire lays over the table, pen ... ). Let's just call it a coffee break instead :) (between those nice 2 parts :) )

alexxUKR
Автор

16:40: I'd like to learn more about Edit and Continue because as she said "sometimes it works, sometimes it doesn't" -- so how do we know when it should work?

joseville
Автор

It would be really helpful to be able to bind "Step into Specific" to a keyboard shortcut. When pressed, a dialog with the code paths should open so you can select where to go next. That would be way faster than moving around the mouse, opening the context menu and selecting from there. Unfortunately, there is no bindable keyboard shortcut option in the shortcut settings editor (Visual Studio 2019 v16.1.6). Also, the items could be sorted by name to make it easier to find the right ones.

reneschindhelm
Автор

Wow I could step in nested function call, I was just wishing for it - thank you!

manir
Автор

Is there a repo to tinker with this code?

eclectictraveler
Автор

Do you really need that "Getting Started" tab? 😁

minik
Автор

please make same debugging series for c/c++

cepi