How to: Edit a Breakpoint Location
This topic applies to:
Pro, Premium, and Ultimate
In a source, Disassembly, or Call Stack window, breakpoints are displayed in the left margin as red symbols called glyphs. The glyphs are also displayed in the Breakpoints window.
To edit a breakpoint location
In the Breakpoints window, right-click a breakpoint, then click Location on the shortcut menu.
In a source, Disassembly, or Call Stack window, right-click a line that contains a breakpoint glyph, and then click Location from Breakpoints on the shortcut menu.
In a source window, you might have to right-click the exact character where the breakpoint is set. This is necessary if the breakpoint is set on a specific character within a line of source code.
A dialog box appears.
For a file breakpoint, edit File to change the file where the breakpoint is set, edit Line to change the line number within the file, or edit Character to change the horizontal location on that line.
By default, a file breakpoint will be hit only if the version of the source file where you set the breakpoint exactly matches the source file that the executable was compiled from. To change this default, clear Require source files to exactly match the original version in General, Debugging, Options Dialog Box.
For an address breakpoint, edit Address to change the memory location where the breakpoint is set, or edit Language to change the syntax by which the debugger evaluates an expression in the Address box.
For a function breakpoint, edit Function to change the signature of the function where the breakpoint is set, edit Line to change the line number within the function, or edit Character to change the horizontal location on that line.
Check Use Intellisense to verify the function name if you want Visual Studio IntelliSense to check the validity of the function name that you entered.
For a data breakpoint, edit Address to change the memory location being watched, or edit Byte Count to change the number of bytes being watched.