An optional array that indicates the P/T sets to show. An element of the array can be a number or it can be a more complicated P/T expression. (For more information, see “
Using P/T Set Operators” in Chapter 12 of the
TotalView User Guide.)
The dptsets command shows the status of each process and thread in a Tcl array of P/T expressions. These array elements are P/T expressions (see
Chapter 12 of the
TotalView User Guide), and the elements’ array indices are strings that label each element's section in the output.
If you do not use the optional ptset_array argument, the CLI supplies a default array that contains all P/T set designators:
error,
existent,
held,
running,
stopped,
unheld, and
watchpoint.
The array index to set_info becomes a label identifying the type of information being displayed. In contrast, the information within parentheses in the
breakpoint and
stopped functions identifies the arena for which the function returns information.
If you use a number as an array index, you might not remember what is being printed. The following very similar example shows a better way to use these array indices: