BIS fnc functionsDebug: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1 = Debug |GROUP1=" to "|gr1 = Diagnostic |GROUP1=")
m (Text replacement - "<code>(\[?[^\[]+\]?) *(\[\[)?(call|spawn)(\]\])? *(\[\[)?(BI(N|S)_fnc_[a-zA-Z0-9_]+)(\]\])?;?<\/code>" to "<sqf>$1 $3 $6;</sqf>")
 
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| tkoh |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|game2= arma3
|version2= 0.50


|gr1 = Diagnostic |GROUP1=
|gr1= Diagnostic
____________________________________________________________________________________________


| ''N/A''<br>{{placeholder}} |DESCRIPTION=
|descr= Changes debug mode used when compiling functions from the [[Arma 3: Functions Library]]. Also recompiles all functions. See [[Arma 3: Functions Library]] for more information.
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_functionsDebug]]; --> |SYNTAX=
|s1= mode call [[BIS_fnc_functionsDebug]]


|p1= |PARAMETER1=
|p1= mode: [[Number]] - debug mode, can be:
* 0  - no debugging
* 1 - script map will be saved
* 2 - script map will be saved and logged


| |RETURNVALUE=
|r1= [[Boolean]]
____________________________________________________________________________________________


|x1= <code></code> |EXAMPLE1=
|x1= <sqf>2 call BIS_fnc_functionsDebug;</sqf>
____________________________________________________________________________________________
 
| |SEEALSO=


|seealso= [[Arma 3: Functions Library]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:functionsDebug}}]]
[[Category:Functions|{{uc:functionsDebug}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:functionsDebug}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:functionsDebug}}]]

Latest revision as of 13:24, 1 July 2022

Hover & click on the images for description

Description

Description:
Changes debug mode used when compiling functions from the Arma 3: Functions Library. Also recompiles all functions. See Arma 3: Functions Library for more information.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
mode call BIS_fnc_functionsDebug
Parameters:
mode: Number - debug mode, can be:
  • 0 - no debugging
  • 1 - script map will be saved
  • 2 - script map will be saved and logged
Return Value:
Boolean

Examples

Example 1:
2 call BIS_fnc_functionsDebug;

Additional Information

See also:
Arma 3: Functions Library

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