From the course: Visual Studio: Advanced Debugging Tools
Unlock the full course today
Join today to access over 22,700 courses taught by industry experts or purchase this course individually.
Add comments and flags to code map - Visual Studio Tutorial
From the course: Visual Studio: Advanced Debugging Tools
Add comments and flags to code map
- [Instructor] A Code Map does a decent job of arranging your code, these method calls, and figuring out what your code is doing and showing it to you on this map. Microsoft has made this flexible, so that we can add our own metadata to this map. For instance, let's say that we decide that this RollDice is not random enough, so I need to make a comment on this. I'll right click, choose Edit, and then New Comment. To be clear, this is not a code comment. This is specific to the Code Map itself, and of course, I can move this around, drag it to new locations. In fact, I can do that with all of these nodes in the map. Another thing I'd like to do is put some sort of flag on these two randomized methods because I need to look at them later. I'm going to right click, choose Flag for Follow Up. I can do a red flag or I can choose these other colors, so I'll do a red flag for the first one, and really all that does is put a…
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)
-
-