From the course: Visual Studio: Advanced Debugging Tools

Unlock the full course today

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

Save the code map file

Save the code map file - Visual Studio Tutorial

From the course: Visual Studio: Advanced Debugging Tools

Start my 1-month free trial

Save the code map file

- [Instructor] I've reopened the project. I am not at a breakpoint at the moment. I'm not debugging my code, but I still have the Code Map available, and I can choose to save it permanently by saving it. Right now you can see it's not saved 'cause there's an asterisk there. What else can I see on this code map? Well, there's a breakpoint here on line 21 in my code, and I can see that there is a red circle here that indicates there's a breakpoint in Button Click. Now I'll go over to GetRobots by pressing F12. Go down here to roll stats. Press F12, put a breakpoint in here by pressing F9, and you see that over in the Code Map it shows there's a breakpoint there. This is a wonderful way of visualizing where your breakpoints are in your debug sessions. And when I run the application, and click the button, the Code Map doesn't need to be regenerated a second time. It's already there, and as I step through my code, by pressing…

Contents