You can set a statement breakpoint from any view that displays source language statements, including source views and token stream views. To set a statement breakpoint, follow these steps:
If no Set breakpoint or Set statement breakpoint choice appears, or if an error message is displayed in the message area when you try to set the breakpoint, you may not be able to set a statement breakpoint on the statement. For example, you cannot set a statement breakpoint on a function declaration, because the function declaration is never executed.
![]()
Set a Statement
Entry Breakpoint
Set a Statement
Initializer Breakpoint
Set a Statement Exit
Breakpoint
Enable, Disable, or
Delete Breakpoints from a Breakpoints View
Set Breakpoints
Before Debugging
Set Breakpoints
Within Debug Pages
