Setting breakpoints in the BOM

You can set breakpoints on business object model (BOM) classes to stop execution when an object is added, retracted, or updated.

Procedure

To set a breakpoint:

  1. Choose the type of BOM class breakpoint you want to set:
    • To stop execution when adding an object of the class, click Run  > Add BOM Class Breakpoint  > Insert.

    • To stop execution when retracting an object of the class, click Run  > Add BOM Class Breakpoint  > Retract.

    • To stop execution when updating an object of the class, click Run  > Add BOM Class Breakpoint > Update.

  2. A dialog opens. In the Class name field, type the fully qualified name of the class on which you want to set a breakpoint, then click OK.
  3. On the Window menu, click Show View  >  Breakpoints.

    The Breakpoints view opens. You can see that a BOM class breakpoint has been added to the list of breakpoints.

    Breakpoints view
  4. Start debugging.

Results

Execution stops when an object of the BOM class is added, retracted, or updated.

XOM breakpoint result