stop Action

void stop(void)

The stop action forces the process that fires the enabled probe to stop when it next leaves the kernel, as if stopped by a proc action. You can use the prun utility to resume a process that has been stopped by the stop action. For more information, see the prun(1) man page. The stop action can be used to stop a process at any DTrace probe point. This action can be used to capture a program in a particular state that would be difficult to achieve with a simple breakpoint, and then attach a traditional debugger like mdb to the process. You can also use the gcore utility to save the state of a stopped process in a core file for later analysis. For more information, see the gcore(1) man page.