PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Operating mode of the runtime log
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
dbgLogOption (Function)
In French: dbgOptionLog
Retrieves or modifies the options of the runtime log.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Find out the options of the runtime log
IF BinaryAND(dbgLogOption(), LogWLanguageFunctions) = LogWLanguageFunctions THEN
Trace("Log with functions")
END
IF BinaryAND(dbgLogOption(), LogParameters) = LogParameters THEN
Trace("Log with parameters")
END
IF BinaryAND(dbgLogOption(), LogProcessOnly) = LogProcessOnly THEN
Trace("Log with processes")
END
Syntax

Finding out the options of the runtime log Hide the details

<Result> = dbgLogOption()
<Result>: Integer constant
Options of the runtime log:
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
LogParametersThe parameters of the functions are written into the runtime log.
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • the processes
LogProcessOnlyThe runtime log only retrieves information about the processes.

Modifying the options of the runtime log Hide the details

dbgLogOption(<Former Options> , <New Options>)
<Former Options>: Integer constant
Options of the runtime log before the modification:
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
LogParametersThe parameters of the functions are written into the runtime log.
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • the processes
LogProcessOnlyThe runtime log only retrieves information about the processes.
<New Options>: Integer constant
Options of the runtime log:
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
LogParametersThe parameters of the functions are written into the runtime log.
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • the processes
LogProcessOnlyThe runtime log only retrieves information about the processes.
Remarks

Operating mode of the runtime log

By default, the runtime log is created with all the options: list of WLanguage functions as well as function parameters. These options are used to present the actions in details but the size of the created log will quickly increase.
To limit the size of the runtime log (when a log is performed over a long time for instance), you have the ability to ignore these options.
To limit the size of the runtime log, you also have the ability to enable the runtime log for the application section that is causing problem with dbgLogStatus.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment