AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de depuración
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
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 performance are registered in 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:
AuditAllAll the audit events are written into 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 performance are registered in the dynamic audit.
AuditWarningUserThe custom execution warnings are written into the dynamic audit. A custom warning is triggered by dbgWriteWarningAudit.
Component: wd290vm.dll
Versión mínima requerida
  • Versión 15
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 03/07/2023

Señalar un error o enviar una sugerencia | Ayuda local