Working with Dynamic Breakpoints in the New
Debugger
You use this procedure to set up to 30 dynamic breakpoints without changing the program source code. Dynamic breakpoints can be set directly in the New Debugger at runtime.
...
1. To set debugger breakpoints in the New Debugger, perform one of the following:
○ To set a line breakpoint, position the cursor on the relevant line and choose Breakpoints → Line Breakpoint → Set/Delete.
○ To set several breakpoints simultaneously, perform the following:
i. Choose Breakpoint → Create Breakpoint.
A dialog containing a tabstrip appears.
ii. Choose the tab where you want to set breakpoints, fill in the required information.
iii.
If
you want to enter more breakpoints than the space provided, choose
with the
quick info text Copy.
The system sets the specified breakpoints and clears the input fields.
iv. Choose Continue.
The system sets a
debugger breakpoint,
with the quick info text Execution
line appears in the indicator
margin, and the corresponding line is highlighted.
2. To activate and deactivate breakpoints, perform one of the following:
○ To activate or deactivate a single breakpoint, position the cursor on the relevant line and choose Breakpoints → Line Breakpoint →Activate/Deactivate.
○ To activate and deactivate all existing breakpoints, choose Breakpoints → Activate all BPs or Breakpoints → Deactivate all BPs.
If you have set several breakpoints simultaneously, the system prompts with a security question before deactivating all breakpoints.
The system
indicates that a breakpoint is inactive by the
icon.
3. To delete breakpoints, perform one of the following:
○ To delete a single breakpoint, position the cursor on the relevant line and choose Breakpoints → Line Breakpoint →Set/Delete.
○ To delete all existing breakpoint, choose Breakpoints → Delete all BPs.
If you have set several breakpoints simultaneously, the system prompts with a security question before deleting all breakpoints.
When you set a breakpoint in the New Debugger, it is a debugger breakpoint by default. A debugger breakpoint is valid only while the Debugger instance in which it was set is active. When you finish your debugging session, the breakpoints are automatically deleted unless you have explicitly saved them as session or as user breakpoints.
...
1. If you want to save line breakpoints as session breakpoints choose Breakpoints → Save Debugger BPS as → Save Debugger Breakpoints.
All existing line breakpoints that have not been previously saved are saved as session breakpoints.

If you are debugging a BSP or Web Dynpro application, you can only save breakpoints as user breakpoints.
2. If you want to save all line breakpoints as user breakpoints choose Breakpoints → Save Debugger BPS as →External BPs.
All existing line breakpoints that have not been previously saved are saved as user breakpoints.

If you have set three line breakpoints and saved them as session breakpoints, and then you create two more line breakpoints and save them as user breakpoints, the first three breakpoints are still saved as session and the other two as user breakpoints. Saving breakpoints as another type does not convert previously saved breakpoints to that type.