Méthode | Description | |
---|---|---|
TracebackAsync ( this session, bool skipSourceFrames = true, |
Retrieve the current call stack, in call order (i.e. the current active frame is last, the one that called it is second to last etc). This method has snapshot semantics for the frames and their properties - that is, the returned collection is not going to change as code runs. However, calling various methods on the returned IRStackFrame objects, such as RStackFrameExtensions.DescribeChildrenAsync, will fetch fresh data, possibly from altogether different frames if the call stack has changed. Thus, it is inadvisable to retain the returned stack and use it at a later point - it should always be obtained anew at the point where it is used. |
public static TracebackAsync ( this session, bool skipSourceFrames = true, |
||
session | this | |
skipSourceFrames | bool |
/// If |
cancellationToken | ||
Résultat | Task |