PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Retrieves or modifies the options of the dynamic audit.
Example
// Find out the options of the dynamic audit
IF BinaryAND(dbgAuditOption(), AuditWarningUser) = AuditWarningUser THEN
Trace("Dynamic audit with user warning")
END
IF BinaryAND(dbgAuditOption(), AuditError) = AuditError THEN
Trace("Dynamic audit with error")
END
Syntax

Finding out the options of the dynamic audit Hide the details

<Result> = dbgAuditOption()
<Result>: Integer constant
Options of the dynamic audit:
AuditAssertionThe assertions are written into the dynamic audit.
AuditCommentThe audit comments are written into the dynamic audit. An audit comment is written by dbgWriteCommentAudit.
AuditErrorThe non-fatal errors not processed are written into the dynamic audit.
AuditExceptionThe fatal errors, processed by WHEN EXCEPTION or not processed, are written into the dynamic audit.
AuditWarningAnomalyThe execution warnings regarding the detected anomalies are written into the dynamic audit.
AuditWarningPerformanceThe execution warnings regarding the performances are written into the dynamic audit.
AuditWarningUserThe custom execution warnings are written into the dynamic audit. A custom warning is triggered by dbgWriteWarningAudit.

Modifying the options of the dynamic audit Hide the details

dbgAuditOption([<New Options>])
<New Options>: Optional integer
Options of the dynamic audit:
AuditAssertionThe assertions are written into the dynamic audit.
AuditCommentThe audit comments are written into the dynamic audit. An audit comment is written by dbgWriteCommentAudit.
AuditErrorThe non-fatal errors not processed are written into the dynamic audit.
AuditExceptionThe fatal errors, processed by WHEN EXCEPTION or not processed, are written into the dynamic audit.
AuditAllAll the audit events are written into the dynamic audit.
AuditWarningAnomalyThe execution warnings regarding the detected anomalies are written into the dynamic audit.
AuditWarningPerformanceThe execution warnings regarding the performances are written into the dynamic audit.
AuditWarningUserThe custom execution warnings are written into the dynamic audit. A custom warning is triggered by dbgWriteWarningAudit.
Component : wd250vm.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment