Sets the level at which dwhere starts displaying information.
Shows the executable name as well as the file name. By default, dwhere displays the associated image information if the source line cannot be found.
Aggregates stack backtraces of the focus threads, outputting a compressed ptlist that identifies the processes and threads containing equivalent stack frames in the backtrace. For information on the
ptlist syntax, see
Compressed List Syntax (ptlist).
This option requires a property argument to control the “equivalence” relationship of stack frames across the threads. See
The -group_by Option for more information.
The dwhere command prints the current execution locations and the call stacks—or sequences of procedure calls—that led to that point. The CLI shows information for threads in the current focus; the default shows information at the thread level.
A dwhere command with no arguments or options displays the call stacks for all threads in the target set.
The MAX_LEVELS variable contains the default maximum number of levels displayed when you do not use the
num-levels argument.
The -group_by option requires a
property argument, which controls the “equivalence” relationship of stack frames across the threads. When you use the -
group_by option,
dwhere aggregates the stack frames of each of the focus threads, forming a tree of equivalent stack frames.
Starting at the base of the stack (closest to main() or the thread's start function), the
dwhere command assigns each frame a distance from a synthetic root frame indicated by
/. Two frames are equivalent only if all of the following apply:
Looking at backtraces purely by the function property is the most coarse grained grouping of threads. Choosing a more fine grained grouping, such as a line number within the function, provides more detail about where in the code a given thread is executing, but it may also result in a much larger set of equivalent frames.
The dwhere command displays the current execution location(s) and the backtrace(s) for the threads in the current focus. If backtraces for multiple threads are requested, the stack displays are aggregated.
This command is a slightly more complicated way of saying f p1 w 5 because specifying a process width tells the
dwhere command to ignore the thread indicator.