ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Debug functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
dbgEnableAssert (Function)
In french: dbgActiveAssertion
Enables or disables the assertive programming. The assertive programming was implemented by dbgAssert.
Example
dbgEnableAssert(True)
Syntax
<Result> = dbgEnableAssert([<Activation>])
<Result>: Boolean
If <Activation> is not specified, <Result> corresponds to the current behavior:
  • <Result> = True if the assertive programming is enabled,
  • <Result> = False if assertive programming is disabled.
If the <Activation> parameter is specified, <Result> corresponds to the old behavior:
  • <Result> = True if the assertive programming is enabled,
  • <Result> = False if assertive programming is disabled.
<Activation>: Optional boolean
  • True to enable the assertive programming,
  • False to disable it (default value).
Remarks
  • In test mode, the assertive programming is enabled by default.
  • At runtime, the assertive programming is disabled by default.
  • If the JITc mode is enabled (default mode), this function must be called in the initialization code of the project. For more details, see JITc.
Component: wd300vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help