ILE COBOL Programmer's Guide

Setting and Removing Conditional Thread Breakpoints

You can set or remove a conditional thread breakpoint by using:

Using the Work with Module Breakpoints Display

To set a conditional thread breakpoint using the Work with Module Breakpoints display:

  1. Type 1 (Add) in the Opt field.
  2. In the Thread field, type the thread identifier.
  3. Fill in the remaining fields as if it were a conditional job breakpoint.
  4. Press Enter.

To remove a conditional thread breakpoint using the Work with Module Breakpoints display:

  1. Type 4 (Clear) in the Opt field next to the breakpoint you want to remove.
  2. Press Enter.

Using the TBREAK or CLEAR Debug Commands

You use the same syntax for the TBREAK debug command as you would for the BREAK debug command. The difference between these commands is that the BREAK debug command sets a conditional job breakpoint at the same position in all threads, while the TBREAK debug command sets a conditional thread breakpoint in the current thread.

To remove a conditional thread breakpoint, use the CLEAR debug command. When a conditional thread breakpoint is removed, it is removed for the current thread only.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]