IPC API Breaks and Breakpoints¶
IPC Breaks¶
- class IpcCliBreaks(device, hide_breakall)¶
The IPC CLI “breaks” variables will expose the supported breaks for those particular devices. The various breaks will halt execution control when the specified event occurs and depending on breakall, one or more threads will enter probe mode.
The “breaks” will be available at the global level and will apply to all the devices in the current domain. The breaks attribute will be available on any nodes that have one or more supported breaktypes.
Example 1:
>>> ipc.breaks.machinecheck = 1
Example 2:
>>> ipc.threads[0].breaks.machinecheck = 1
Example 3:
>>> ipc.breaks.breakall = 1
Some of the supported breaks that may be here are:
generaldetect
init
machinecheck
reset
shutdown
smminto
smmentry
smmexit
vmentry
vmexit
Note
LTB only supports a global setting. So setting any thread will result in all threads having the specified breaks value changed.
See also
- property breakall¶
This determines whether all threads or just the thread that hit the break event should stop execution.