diag SQFCDebugDump: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.18 |branch= diag |gr1= Diagnostic |descr= Dumps the bytecode as {{arma3}} sees it, in a diff friendly way. Useful for testing...")
 
(Return compiled code if possible)
 
Line 16: Line 16:
|p2= targetPath: [[String]] - Path to file on drive to output to
|p2= targetPath: [[String]] - Path to file on drive to output to


|r1= [[Nothing]]
|r1= [[Code]] - compiled expression (If parsing was successful)


|x1= <sqf>diag_SQFCDebugDump ["P:/test.sqfc", "P:/dump"];</sqf>
|x1= <sqf>diag_SQFCDebugDump ["P:/test.sqfc", "P:/dump"];</sqf>

Latest revision as of 12:20, 1 July 2024

Hover & click on the images for description
Only available in Diagnostic branch(es).

Description

Description:
Dumps the bytecode as Arma 3 sees it, in a diff friendly way. Useful for testing custom SQFC compilers.
Groups:
Diagnostic

Syntax

Syntax:
diag_SQFCDebugDump [sourcePath, targetPath]
Parameters:
sourcePath: String - Path to file on drive that should be read
targetPath: String - Path to file on drive to output to
Return Value:
Code - compiled expression (If parsing was successful)

Examples

Example 1:
diag_SQFCDebugDump ["P:/test.sqfc", "P:/dump"];

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