Editing a stack pattern breakpoint

You can edit a stack pattern breakpoint in the Breakpoints view.

Procedure

  1. Right-click the stack pattern breakpoint in the Breakpoints view, and click Stack Pattern > Edit Stack Pattern.
    The Stack Pattern properties window opens.
    Stack pattern properties dialog
  2. Edit the stack pattern properties in the opened window.

    The stack pattern is associated with the breakpoint that is set on the last node of the connected path. In this example, the Stack Pattern properties window is opened for the [720-POSITION-CUST-FILE][Stack Pattern] breakpoint.

    The stack pattern condition specifies that the callers are in the order of 220-PROCESS-DELETE-TRAN, 100-PROCESS-TRANSACTIONS, and 000-MAIN. The last wildcard (*) entry matches zero or more arbitrary stack frames at the bottom of the stack.

    In the original Visual Debug view, paragraph 720-POSITION-CUST-FILE can be called from two other paths and that each path only differs from the other paths at one position.
    Alternate paths
    To modify the stack pattern, edit the entry 220-PROCESS-DELETE-TRAN to match the other paths. For example, change the entry to 210-PROCESS-ADD-TRAN to match the second path or use the wildcard (*) to match all possible code paths. To replace 220-PROCESS-DELETE-TRAN with 210-PROCESS-ADD-TRAN, complete the following steps:
    1. Select entry 220-PROCESS-DELETE-TRAN from the Stack pattern list.
    2. Enter 210-PROCESS-ADD-TRAN in the Entry name field.
    3. Click Apply.
    Use wildcard to handle additional paths.