Method Thread.Thread()->backtrace()
- Method
backtrace
array
(mixed
) backtrace(int
|void
flags
)- Description
Returns the current call stack for the thread.
- Parameter
flags
A bit mask of flags affecting generation of the backtrace.
Currently a single flag is defined:
1
Return
LiveBacktraceFrame
s. This flag causes the frame objects to track changes (as long as they are in use), and makes eg local variables for functions available for inspection or change.Note that since these values are "live", they may change or dissapear at any time unless the corresponding thread has been halted or similar.
- Returns
The result has the same format as for backtrace().
- See also