MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / StackFrame

Method StackFrame

include/hx/StackContext.h:646–660  ·  view source on GitHub ↗

The constructor automatically adds the StackFrame to the list of stack frames for the current thread

Source from the content-addressed store, hash-verified

644 // The constructor automatically adds the StackFrame to the list of
645 // stack frames for the current thread
646 inline StackFrame(const StackPosition *inPosition
647 ) : position(inPosition)
648 {
649 #ifdef HXCPP_STACK_LINE
650 lineNumber = inPosition->firstLineNumber;
651 #ifdef HXCPP_DEBUGGER
652 variables = 0;
653 catchables = 0;
654 #endif
655 #endif
656
657
658 ctx = HX_CTX_GET;
659 ctx->pushFrame(this);
660 }
661
662
663 // The destructor automatically removes the StackFrame from the list of

Callers

nothing calls this directly

Calls 1

pushFrameMethod · 0.80

Tested by

no test coverage detected