ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Debug functions
  • Result according to the requested information
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
dbgInfo (Function)
In french: dbgInfo
Returns a debug information.
Example
Trace(dbgInfo(dbgProcess))
// Caption of current process ("Click of Button1")
 
Trace(dbgInfo(dbgElément))
// Name of element currently run ("Window1.Button1")
 
Trace(dbgInfo(dbgElément, dbgCallingProcess))
// Name of the calling element ("Window2.OK_Button")
n is int
Trace(dbgInfo(dbgTypeName, TypeVar(n))
// Type of variable : Integer
Syntax
<Result> = dbgInfo(<Information> [, <Parameter>])
<Result>: Integer or character string
Requested information.
<Information>: Integer constant
Information to retrieve. For more details, see remarks.
<Parameter>: Optional Integer constant or integer
Detailed information to retrieve. For more details, see remarks.
Remarks

Result according to the requested information

The table below presents the debug information that can be returned according to the specified parameters:
<Information><Parameter><Result>
dbgProcessNoneCaption of process currently run
dbgCurrentProcessCaption of process currently run
dbgCallingProcessCaption of calling process.
Android If this statement is called from an HTML control via the WL.Execute mechanism, this information is not available.
<an integer>Caption of <integer> calling process
dbgElementNoneFull internal name of process currently run
dbgCurrentProcessFull internal name of process currently run
dbgCallingProcessFull internal name of the calling process
<an integer>Full internal name of <integer> calling process
dbgElementShortNameNone
  • Name of the control associated with the WLanguage event being executed,
  • Name of the procedure being executed.
AndroidAndroid Widget JavaPHP Information not available.
dbgLineNoneNumber of current line in the process currently run.
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJavaPHP Information not available.
dbgCurrentProcessNumber of current line in the process currently run.
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJavaPHP Information not available.
dbgCallingProcessNumber of current line in the calling process.
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJavaPHP Information not available.
<an integer>Number of current line in the <integer> calling process.
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystJavaPHP Information not available.
dbgFullComponentNameNoneFull name of the component being executed. For example:
  • "" (empty string): main application context
  • "Component1": "Component1" component directly used in the project
  • "Component1.Component2": "Component2" component used from "Component1".
PHP Information not available.
dbgTypeName<Type number>Spelled out type name. <Type number> is returned:
PHP Information not available.
dbgStackNoneCall stack
dbgActivateSystemDumpTrue or FalseUsed to enable (or not) the generation of system dump to transmit some problems to the Technical Support.
AndroidAndroid Widget JavaPHP Information not available.
dbgActivateUserDumpTrue or FalseUsed to enable or disable the user memory dump (Ctrl + Pause).
Reminder: the memory Dump can be saved by dbgSaveMemoryDump.
AndroidAndroid Widget JavaPHP Information not available.
dbgDirectorySystemDump<Directory for generating the system dumps>Directory for generating the system dumps. The default directory is <X>:\PCSOFTDUMP, where <X> corresponds to the disk from which the application was started.
AndroidAndroid Widget JavaPHP Information not available.
dbgDebuggerEnabledNone
  • True if the debugger is enabled,
  • False otherwise.
AndroidAndroid Widget JavaPHP Constant not available.
Business / UI classification: Neutral code
Component: wd290vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/28/2023

Send a report | Local help