Additional Tips from Chapter 7

AX.97 Set or Remove a Breakpoint

DEFAULT

F9

VISUAL BASIC 6

F9

VISUAL C# 2005

F9

VISUAL C++ 2

F9; Ctrl+Shift+F9

VISUAL C++ 6

F9

VISUAL STUDIO 6

F9

WINDOWS

Alt,D, G

MENU

Debug | Toggle Breakpoint

COMMAND

Debug.ToggleBreakpoint

VERSIONS

2005, 2008, 2010

CODE

vstipDebug0016

Setting a simple breakpoint is easy. Just find some code:

image with no caption

Now set (or remove) a breakpoint either by pressing F9 or by selecting Debug | Toggle Breakpoint on your menu bar:

image with no caption

If you prefer using the mouse, you can set a breakpoint by positioning your pointer in the ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.