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

Method tracePosition

src/hx/Debug.cpp:341–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339#ifdef HXCPP_STACK_TRACE // {
340
341void StackContext::tracePosition( )
342{
343 StackFrame *frame = mStackFrames[mStackFrames.size()-1];
344 #ifdef HXCPP_STACK_LINE
345 DBGLOG("%s::%s : %d\n", frame->position->className, frame->position->functionName, frame->lineNumber);
346 #else
347 DBGLOG("%s::%s\n", frame->position->className, frame->position->functionName);
348 #endif
349}
350
351void StackContext::getCurrentCallStackAsStrings(Array<String> result, bool skipLast)
352{

Callers 2

HandleBreakpointsMethod · 0.80
__hxcpp_on_line_changedFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected