diag dumpCalltraceToLog: Difference between revisions
Jump to navigation
Jump to search
m (branch) |
(added seeAlso) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.00 | |||
|branch= diag | |branch= diag | ||
|gr1= Diagnostic | |gr1= Diagnostic | ||
Line 13: | Line 12: | ||
|s1= [[diag_dumpCalltraceToLog]] | |s1= [[diag_dumpCalltraceToLog]] | ||
|x1= < | |r1= [[Nothing]] | ||
|x1= <sqf> | |||
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 | 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 25: | Line 27: | ||
14:17:06 " _this:[]" | 14:17:06 " _this:[]" | ||
14:17:06 "CALLSTACK END;;; | 14:17:06 "CALLSTACK END;;; | ||
*/ | |||
</sqf> | |||
|seealso= | |seealso= [[arma.RPT]] [[diag_stacktrace]] [[diag_log]] | ||
}} | }} |
Latest revision as of 20:47, 11 December 2023
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