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 - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
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
-
-
-
-
-
-
-
(Locked)
Install code maps feature37s
-
(Locked)
Enable code maps4m 29s
-
(Locked)
Save the code map file1m 18s
-
(Locked)
Open and debug with the code map file1m 25s
-
(Locked)
Navigate call stack in code map2m 16s
-
(Locked)
Add comments and flags to code map1m 21s
-
(Locked)
Change code map layout43s
-
(Locked)
Enhance code map with type containers1m 43s
-
(Locked)
Complete the map by adding all type members2m 13s
-
(Locked)
-
-