The constructor automatically adds the StackFrame to the list of stack frames for the current thread
| 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 |