diag dumpCalltraceToLog: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 3: Line 3:
{{Command
{{Command


|game1= arma3diag |Game name=
|game1= arma3diag


|version= 1.99 |Game version=
|version= 1.99


|gr1= Diagnosis |GROUP1=
|gr1= Diagnosis


|descr= {{Warning | Command name/format '''may change''' in the future.}}
|descr= {{Warning | Command name/format '''may change''' in the future.}}
Line 13: Line 13:
dumps current callstack/calltrace to RPT.
dumps current callstack/calltrace to RPT.


{{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.}}


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


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


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



Revision as of 00:30, 18 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