From the course: Visual Studio Developer Tips
Unlock this course with a free trial
Join today to access over 22,500 courses taught by industry experts.
Label a breakpoint - Visual Studio Tutorial
From the course: Visual Studio Developer Tips
Label a breakpoint
- [Instructor] Have you ever been debugging a large application, you've got break points in multiple files, you've got break points across multiple projects, and you're having a hard time understanding where those break points live or what the purpose of them are. You put them in the application yesterday and you don't remember today why you put that break point there? I've got a solution for you, it's called break point labels. Essentially, it's a way of naming a break point, that way when you look at it in the break point window, you have a better understanding of its purpose. The first thing we need to do in this application is add a break point. I'll put some break points in this console app, and another break point over here in this course library. Let's start here on line 13, I'm calling this tour source and getting the first tour stop, so I'll put a break point here by clicking in the margin bar and also put one here on line 19, this time I'll add it by pressing F9, then I'll…
Contents
-
-
-
Brace matching in C#4m 57s
-
Select vertical sections of code with Box Selection5m 50s
-
Move code with keyboard shortcuts2m 49s
-
Find duplicate code with the code clone analysis tool4m 8s
-
Paste JSON/XML as class3m 42s
-
Colorize output in the build window4m 37s
-
A better way to redock a tool window3m 57s
-
The Open Command Line extension3m 39s
-
Get consistent editor settings with EditorConfig3m 46s
-
Git at a glance: Updates to the Visual Studio status bar4m 1s
-
Surround a block of code with a code snippet2m 5s
-
Understand the document tab features3m 35s
-
Clipping to a border using an opacity mask5m 53s
-
Insert Line with Ctrl Enter2m 21s
-
Use the File Tab channel3m 31s
-
Use the Add New File extension4m 27s
-
Keyboard access for CodeLens4m 32s
-
Use the Clipboard Ring2m 56s
-
Use the GlyphFriend extension5m 41s
-
Activate Open File in Solution Explorer3m 14s
-
Use the enhanced scrollbar41s
-
Drag and drop in Solution Explorer5m 20s
-
Keyboard shortcuts for MVC views and controllers4m 17s
-
Pin data tips in debug window6m 6s
-
The Trailing Whitespace Visualizer extension4m 19s
-
Date rounding and other helpers5m 21s
-
Memorize window layout (Reuse)4m 26s
-
Use DialogResult6m 48s
-
Label a breakpoint2m 31s
-
The Image Optimizer extension2m 35s
-
Use Ctrl+Spacebar to fix case of variable names3m 40s
-
Use the nameof operator6m 21s
-
Discover untested code with code coverage7m 36s
-
Use the Hand tool in XAML designer2m 16s
-
Array Visualizer extension2m 35s
-
Use Ctrl+Tab to cycle through windows3m 18s
-
Understand line stroke patterns4m 37s
-
The Comment Remover extension3m 41s
-
Toolbox tip shortcuts6m 1s
-
Randomize data with LINQ4m 13s
-
Customize context menu4m
-
Get the file path1m 25s
-
Convert lists4m 34s
-
Enum flags5m 19s
-
Reference highlighting2m 4s
-
Evaluate performance with PerfTips4m 50s
-
Null propagation4m
-
Multiple editor views of same file2m 17s
-
Customize the output window7m 37s
-
Colored braces with the Viasfora extension4m 15s
-
Use the C# interactive window10m 47s
-
The Smart Semicolon extension3m 29s
-
Reference Highlighting1m 35s
-
IEnumerable Extension Methods4m 58s
-
Compare LiNQ sequences6m
-
The Clear Recent Project List extension3m 34s
-