# std/stackframes

Theme:

- Manual
- Standard library
- Index
- Compiler docs
- Fusion docs
- devel, stable

Search:
Source Edit

# Templates

    template getPFrame(): PFrame

  avoids a function call (unlike `getFrame()`) Source Edit

    template procName(): string

  returns current C/C++ function name Source Edit

    template setFrameMsg(msg: string; prefix = " ")

  attach a msg to current `PFrame`. This can be called multiple times in a given PFrame. Noop unless passing --stacktraceMsgs and --stacktrace Source Edit