PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Result according to the requested information
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
dbgInfo (Function)
In French: dbgInfo
Returns a debug information.
Versions 15 and later
Android This function is now available for the Android applications.
PHP This function is now available for the PHP sites.
New in version 15
Android This function is now available for the Android applications.
PHP This function is now available for the PHP sites.
Android This function is now available for the Android applications.
PHP This function is now available for the PHP sites.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
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 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
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
Trace(dbgInfo(dbgProcess))
// Caption of current process ("Click of Button1")

Trace(dbgInfo(dbgElement))
// Name of element currently run ("Window1.Button1")

Trace(dbgInfo(dbgElement, dbgCallingProcess))
// Name of 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. See remarks for more details.
<Parameter>: Optional Integer constant or integer
Detailed information to retrieve. See remarks for more details.
Remarks

Result according to the requested information

The table below presents the debugging information that can be returned according to the specified parameters:
<Information><Parameter><Result>
dbgProcessNoneCaption of the process currently run
dbgCurrentProcessCaption of the process currently run
dbgCallingProcessCaption of the calling process
<an integer>Caption of the <integer> calling process
dbgElementNoneFull internal name of the process currently run
dbgCurrentProcessFull internal name of the process currently run
dbgCallingProcessFull internal name of the calling process
<an integer>Full internal name of the <integer> calling process
dbgLineNoneNumber of the current line in the process currently run.
AndroidAndroid Widget iPhone/iPadApple WatchJavaPHP Information not available.
dbgCurrentProcessNumber of the current line in the process currently run.
AndroidAndroid Widget iPhone/iPadApple WatchJavaPHP Information not available.
dbgCallingProcessNumber of the current line in the calling process.
AndroidAndroid Widget iPhone/iPadApple WatchJavaPHP Information not available.
<an integer>Number of current line in the <integer> calling process.
AndroidAndroid Widget iPhone/iPadApple WatchJavaPHP Information not available.
dbgFullComponentNameNoneFull name of component currently run. Some examples:
  • "" (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 name of the type. <Type Number> is returned:
PHP Information not available.
dbgStackNoneCall stack
Versions 17 and later
dbgActivateSystemDump
New in version 17
dbgActivateSystemDump
dbgActivateSystemDump
True or FalseUsed to enable (or not) the generation of system dump to transmit some problems to the Technical Support.
Caution: This constant allows you to generate a system dump for the 32-bit Windows applications only. In the other cases, this constant has no effect.
AndroidAndroid Widget JavaPHP Information not available.
Versions 20 and later
dbgActivateUserDump
New in version 20
dbgActivateUserDump
dbgActivateUserDump
True 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.
Versions 17 and later
dbgDirectorySystemDump
New in version 17
dbgDirectorySystemDump
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.
Caution: This constant can only be used with 32-bit Windows applications. In the other cases, this constant has no effect.
AndroidAndroid Widget JavaPHP Information not available.
Versions 19 and later
dbgDebuggerEnabled
New in version 19
dbgDebuggerEnabled
dbgDebuggerEnabled
None
  • True if the debugger is enabled,
  • False otherwise.
AndroidAndroid Widget JavaPHP Constant not available.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment