diag dumpCalltraceToLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added display title)
(added seeAlso)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_dumpCalltraceToLog}}
{{RV|type=command


{{Command
|game1= arma3
|version1= 2.00


|game1= arma3diag |Game name=
|branch= diag


|version= 1.99 |Game version=
|gr1= Diagnostic


|gr1= Diagnosis |GROUP1=
|descr= Dumps current callstack/calltrace to RPT.
____________________________________________________________________________________________


|descr= {{Warning | Command name/format '''may change''' in the future.}}
|s1= [[diag_dumpCalltraceToLog]]


dumps current callstack/calltrace to RPT.
|r1= [[Nothing]]


{{Warning | Command is only available when using [[Arma 3 Diagnostics Exe]] on Dev-Branch.}} |Description=
|x1= <sqf>
____________________________________________________________________________________________
diag_dumpCalltraceToLog;
 
/* outputs:
|s1= [[diag_dumpCalltraceToLog]] |Syntax=
____________________________________________________________________________________________
 
|x1= <code>[[diag_dumpCalltraceToLog]];
{{codecomment|/* 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 32: Line 27:
14:17:06 "        _this:[]"
14:17:06 "        _this:[]"
14:17:06 "CALLSTACK END;;;
14:17:06 "CALLSTACK END;;;
<nowiki/>*/}}</code> |Example 1=
*/
____________________________________________________________________________________________
</sqf>


|seealso= |See Also=
|seealso= [[arma.RPT]] [[diag_stacktrace]] [[diag_log]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 20:47, 11 December 2023

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:
arma.RPT diag_stacktrace diag_log

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