Adding Data Breakpoint

Adding Data Breakpoint using code editor context menu

You can add Data breakpoint from code editor. Select the variable in code editor and select BreakpointAdd Databreakpoint from the context menu. This adds data breakpoint for a given variable address. Default access mode is write and default mask is none. You can invoke the same command using shortcut key Ctrl + Shift + R.

Figure 1. Adding Data Breakpoint from the Context Menu

Adding Data Breakpoint from Debug menu

You can add new Data breakpoint from DebugNew BreakpointNew Data Breakpoint. This opens the Data Breakpoint Configuration window.

Adding Data Breakpoint from Data Breakpoints tool window

You can add new Data breakpoint using the New button in Data Breakpoints tool window. This opens the Data Breakpoint Configuration window.

Note: You can add or modify Data breakpoint only in debug mode.