diag dumpCalltraceToLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (added display title)
m (Text replacement - "_{10,} " to "")
Line 8: Line 8:


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis |GROUP1=
____________________________________________________________________________________________


|descr= {{Warning | Command name/format '''may change''' in the future.}}
|descr= {{Warning | Command name/format '''may change''' in the future.}}
Line 15: Line 14:


{{Warning | Command is only available when using [[Arma 3 Diagnostics Exe]] on Dev-Branch.}} |Description=
{{Warning | Command is only available when using [[Arma 3 Diagnostics Exe]] on Dev-Branch.}} |Description=
____________________________________________________________________________________________


|s1= [[diag_dumpCalltraceToLog]] |Syntax=
|s1= [[diag_dumpCalltraceToLog]] |Syntax=
____________________________________________________________________________________________


|x1= <code>[[diag_dumpCalltraceToLog]];
|x1= <code>[[diag_dumpCalltraceToLog]];
Line 33: Line 30:
14:17:06 "CALLSTACK END;;;
14:17:06 "CALLSTACK END;;;
<nowiki/>*/}}</code> |Example 1=
<nowiki/>*/}}</code> |Example 1=
____________________________________________________________________________________________


|seealso=  |See Also=
|seealso=  |See Also=

Revision as of 01:44, 17 January 2021


-wrong parameter ("arma3diag") defined!-[[:Category:Introduced with arma3diag version |?]]
Hover & click on the images for description

Description

Description:
Command name/format may change in the future.

dumps current callstack/calltrace to RPT.

Command is only available when using Arma 3 Diagnostics Exe on Dev-Branch.
Groups:
Diagnosis

Syntax

Syntax:
diag_dumpCalltraceToLog
Return Value:
Return value needed

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:
See also needed

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

[[Category:Introduced with arma3diag version ]][[ Category: arma3diag: New Scripting Commands | DIAG DUMPCALLTRACETOLOG]][[ Category: arma3diag: Scripting Commands | DIAG DUMPCALLTRACETOLOG]]

Bottom Section