Using Debugger Variables to Store Process Sets and Ranges

Like storing other data types supported by the debugger, you can store process sets and process ranges in debugger variables using the set command. For example:

(idb) set $set1 = [:7, 10, 15:20, 30:]

(idb) print $set1

[:7, 10, 15:20, 30:]

In addition to using the print command, you can also use the show process set command to inspect the process set stored in a debugger variable. For example:

show_process_set_command

: show process set debugvar_name

| show process set all

| show process set

If you do not specify the set name, or if you use the all  specifier, the debugger displays all the process sets that are currently stored in debugger variables, as the continued example shows:

(idb) set $set2 = [8:9, 5:2, 22:27]

`5:2' is not a legal process range. Ignored.

(idb) show process set $set2

$set2 = [8:9, 22:27]

(idb) show process set *

$set1 = [:7, 10, 15:20, 30:]

$set2 = [8:9, 22:27]