ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Debug functions
  • Operating mode of the runtime log
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
dbgLogOption (Function)
In french: dbgOptionLog
Retrieves or modifies the options of the runtime log.
Example
// Find out the options of the runtime log
IF BitwiseAND(dbgLogOption(), LogWLanguageFunctions) = LogWLanguageFunctions THEN
	Trace("Log with functions")
END
IF BitwiseAND(dbgLogOption(), LogParameters) = LogParameters THEN
	Trace("Log with parameters")
END
IF BitwiseAND(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:
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • processes
LogParametersThe parameters of the functions are written into the runtime log.
LogProcessOnlyThe runtime log only retrieves information about the processes.
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.

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:
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • processes
LogParametersThe parameters of the functions are written into the runtime log.
LogProcessOnlyThe runtime log only retrieves information about the processes.
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
<New options>: Integer constant
Options of the runtime log:
LogAllThe runtime log retrieves:
  • the WLanguage functions
  • the parameters of the functions
  • processes
LogParametersThe parameters of the functions are written into the runtime log.
LogProcessOnlyThe runtime log only retrieves information about the processes.
LogWLanguageFunctionsThe WLanguage functions are written into the runtime log.
Remarks

Operating mode of the runtime log

By default, the execution log is created with all options: listed WLanguage functions and 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 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.
Component: wd300vm.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/04/2024

Send a report | Local help