diag stacktrace: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
(added seeAlso) |
||
(One intermediate revision by one other user not shown) | |||
Line 10: | Line 10: | ||
|s1= [[diag_stacktrace]] | |s1= [[diag_stacktrace]] | ||
|r1= [[Array]] in format: | |r1= [[Array]] of [[Array]]s, in format: | ||
<sqf>params ["_functionName", "_lineNumber", "_scopeName", "_variablesHashmap"];</sqf> | <sqf>params ["_functionName", "_lineNumber", "_scopeName", "_variablesHashmap"];</sqf> | ||
* _functionName: [[String]] - function name | * _functionName: [[String]] - function name | ||
Line 38: | Line 38: | ||
</sqf> | </sqf> | ||
|seealso= [[diag_dumpCalltraceToLog]] | |seealso= [[arma.RPT]] [[diag_dumpCalltraceToLog]] [[diag_log]] | ||
}} | }} |
Latest revision as of 20:47, 11 December 2023
Description
- Description:
- Returns an array containing the function name, line number, scope name and all local variables in form of a hashmap.
- Groups:
- Diagnostic
Syntax
- Syntax:
- diag_stacktrace
- Return Value:
- Array of Arrays, in format:
Examples
- Example 1:
Additional Information
- See also:
- arma.RPT diag_dumpCalltraceToLog 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