Add a breakpoint to a line of code
Adding breakpoints to your application stops the application at a specific line number. Breakpoints can be added to or removed from your application during the running of the application, for example, during debugging.
- Open the source file.
- In the Edit window, click a line of code.
- On the Debug menu, click Breakpoint > Set Breakpoint at Cursor, or press F9.
|
Note: In the code, a breakpoint appears as a stop sign icon. The icon for a conditional breakpoint is a stop sign with a question mark.
|
Related topic