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

Function __hxcpp_get_call_stack

src/hx/Debug.cpp:534–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

532
533
534Array<String> __hxcpp_get_call_stack(bool inSkipLast)
535{
536 Array<String> result = Array_obj<String>::__new();
537
538#ifdef HXCPP_STACK_TRACE
539 hx::StackContext *ctx = hx::StackContext::getCurrent();
540 ctx->getCurrentCallStackAsStrings(result,inSkipLast);
541#endif
542 return result;
543}
544
545
546Array<String> __hxcpp_get_exception_stack()

Callers

nothing calls this directly

Calls 2

__newFunction · 0.85

Tested by

no test coverage detected