diag dumpCalltraceToLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
m (Some wiki formatting)
Line 14: Line 14:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[diag_dumpCalltraceToLog]];
|x1= <sqf>
{{codecomment|/* outputs:
diag_dumpCalltraceToLog;
/* outputs:
Callstack:"
Callstack:"
14:17:06 "    [] L1 ()"
14:17:06 "    [] L1 ()"
14:17:06 "    [] L25 (A3\functions_f\Debug\fn_debugConsoleExec.sqf)"
14:17:06 "    [] L25 (A3\functions_f\Debug\fn_debugConsoleExec.sqf)"
14:17:06 "        _this:[{st {{=}} 15 / 0;}]"
14:17:06 "        _this:[{st = 15 / 0;}]"
14:17:06 "    [] L0 ()"
14:17:06 "    [] L0 ()"
14:17:06 "    [] L25 (A3\functions_f\Debug\fn_debugConsoleExec.sqf)"
14:17:06 "    [] L25 (A3\functions_f\Debug\fn_debugConsoleExec.sqf)"
Line 26: Line 27:
14:17:06 "        _this:[]"
14:17:06 "        _this:[]"
14:17:06 "CALLSTACK END;;;
14:17:06 "CALLSTACK END;;;
<nowiki/>*/}}</code>
*/
</sqf>


|seealso= [[diag_stacktrace]]
|seealso= [[diag_stacktrace]]
}}
}}

Revision as of 11:35, 4 May 2022

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Dumps current callstack/calltrace to RPT.
Groups:
Diagnostic

Syntax

Syntax:
diag_dumpCalltraceToLog
Return Value:
Nothing

Examples

Example 1:
diag_dumpCalltraceToLog; /* outputs: Callstack:" 14:17:06 " [] L1 ()" 14:17:06 " [] L25 (A3\functions_f\Debug\fn_debugConsoleExec.sqf)" 14:17:06 " _this:[{st = 15 / 0;}]" 14:17:06 " [] L0 ()" 14:17:06 " [] L25 (A3\functions_f\Debug\fn_debugConsoleExec.sqf)" 14:17:06 " _x:any" 14:17:06 " [] L1 ()" 14:17:06 " _this:[]" 14:17:06 "CALLSTACK END;;; */

Additional Information

See also:
diag_stacktrace

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note