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
Writes a custom runtime warning to the dynamic audit. dbgWriteWarningAudit has no effect if the audit is not enabled.
Remark: The dynamic audit can be enabled using dbgEnableAudit.
Example
// Checks whether a window is opened
IF WinStatus("WindowAlwaysOpened") = NotFound THEN
dbgWriteWarningAudit(1, "The window named WindowAlwaysOpened was closed")
END
Syntax
dbgWriteWarningAudit(<Code> [, <Warning Text>])
<Code>: Integer
Code of the warning to write.
This number (included between 1 and 1000) is defined by the developer.
<Warning Text>: Optional character string
Explanatory message associated with the warning.
Remarks
dbgAuditStatus is used to find out whether the audit is enabled in order to:
  • perform the checks in this case only.
  • avoid reducing the performances of the application in standard execution.
Component: wd290vm.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help