From the course: Visual Studio: Advanced Debugging Tools

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Enhance code map with type containers

Enhance code map with type containers - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

Enhance code map with type containers

- [Instructor] This GetRobots method is inside a type. Now if I'm interested, I can double-click on this and scroll up the top and find out what the type is, it's in the TeamBuilder class. There's a way to do this from the code map itself, right-click on it, and choose Show Containing Type. After a few seconds on my computer, I get a message that's saying this diagram may be based on an older version of this code, I'm going to delete that message. I don't seem to be able to delete it, oh, there it goes. What happened, there it shows the TeamBuilder as a class, and it shows that all these methods are inside that class. Let's see what happens if I do the same thing for this Button Click handler. Same thing, I get a box here, and I can continue doing this, Show Containing Namespace and Assembly. Now I get multiple boxes, I see that Main Window is inside the DebugWpf namespace, which is inside the Debug WPF.exe. Same thing…

Contents