PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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 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 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App 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 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.
<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 calling process
<an integer>Full internal name of <integer> calling process
dbgLineNoneNumber of current line in the process currently run.
Java Information not available.
dbgCurrentProcessNumber of current line in the process currently run.
Java Information not available.
dbgCallingProcessNumber of current line in the calling process.
Java Information not available.
<an integer>Number of current line in the <integer> calling process.
Java 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".
dbgTypeName<Type number>Spelled out type name. <Type number> is returned:
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.
Java 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.
Java 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.
Java Information not available.
Versions 19 and later
dbgDebuggerEnabled
New in version 19
dbgDebuggerEnabled
dbgDebuggerEnabled
None
  • True if the debugger is enabled,
  • False otherwise.
Java Constant not available.
Component : wd240vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment