You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/debugger/using-breakpoints.md
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -138,9 +138,9 @@ To visually trace breakpoints during code execution, see [Map methods on the cal
138
138
139
139
4. Add the following to the **Function Name** box, and select **C++** language.
140
140
141
-
```C++
142
-
((my_class *) 0xcccccccc)->my_method
143
-
```
141
+
```cpp
142
+
((my_class *) 0xcccccccc)->my_method
143
+
```
144
144
145
145
::: moniker range=">= vs-2019"
146
146
@@ -161,7 +161,7 @@ Data breakpoints in .NET Core won't work for:
161
161
- Properties that are not expandable in the tooltip, Locals, Autos, or Watch window
162
162
- Static variables
163
163
- Classes with the DebuggerTypeProxy Attribute
164
-
- Fields inside of structs
164
+
- Fields inside of structs
165
165
166
166
::: moniker-end
167
167
@@ -183,11 +183,12 @@ Data breakpoints don't work under the following conditions:
183
183
- A process that is not being debugged writes to the memory location.
184
184
- The memory location is shared between two or more processes.
185
185
- The memory location is updated within the kernel. For example, if memory is passed to the 32-bit Windows `ReadFile` function, the memory will be updated from kernel mode, so the debugger won't break on the update.
186
+
- Where the watch expression is larger than 4 bytes on 32-bit hardware and 8 bytes on 64-bit hardware. This is a limitation of the x86 architecture.
186
187
187
-
>[!NOTE]
188
-
>- Data breakpoints depend on specific memory addresses. The address of a variable changes from one debugging session to the next, so data breakpoints are automatically disabled at the end of each debugging session.
188
+
>[!NOTE]
189
+
>- Data breakpoints depend on specific memory addresses. The address of a variable changes from one debugging session to the next, so data breakpoints are automatically disabled at the end of each debugging session.
189
190
>
190
-
>- If you set a data breakpoint on a local variable, the breakpoint remains enabled when the function ends, but the memory address is no longer applicable, so the behavior of the breakpoint is unpredictable. If you set a data breakpoint on a local variable, you should delete or disable the breakpoint before the function ends.
191
+
>- If you set a data breakpoint on a local variable, the breakpoint remains enabled when the function ends, but the memory address is no longer applicable, so the behavior of the breakpoint is unpredictable. If you set a data breakpoint on a local variable, you should delete or disable the breakpoint before the function ends.
191
192
192
193
## <aname="BKMK_Specify_advanced_properties_of_a_breakpoint_"></a> Manage breakpoints in the Breakpoints window
0 commit comments