DebugBuild
From Real Software Documentation
Method
Used to determine whether the current operating environment is the IDE. DebugBuild is True when you compile the project by clicking the Run button in the Toolbar.
Syntax
result=DebugBuild
| Part | Type | Description |
|---|---|---|
| result | Boolean | True if the application is running within Real Studio, i.e., you chose Debug ↠ Run. |
Examples
The following example displays a message box only when the app is run from the IDE.
See Also
RBVersion, RBVersionString, TargetBigEndian, TargetCarbon, TargetCocoa, TargetHasGUI, TargetLinux, TargetLittleEndian, TargetMachO, TargetMacOS, TargetPowerPC, TargetWin32, TargetX86 constants; #If...#Endif statement.
