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
  • Result according to the requested information
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
dbgInfo (Function)
In french: dbgInfo
Returns a debug information.
Example
Trace(dbgInfo(dbgProcess)) 
// Libellé du traitement courant ("Clic de Bouton1")

Trace(dbgInfo(dbgElement)) 
// Nom de l'élément en cours d'exécution ("Fenêtre1.Bouton1")

Trace(dbgInfo(dbgElement, dbgCallingProcess))
// Nom de l'élément appelant ("Fenêtre2.Bouton_OK")
n is int
Trace(dbgInfo(dbgTypeName, TypeVar(n))
// Type de la variable : Entier
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.
<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.
dbgLineNoneNumber of current line in the process currently run.
dbgCurrentProcessNumber of current line in the process currently run.
dbgCallingProcessNumber of current line in the calling process.
<an integer>Number of current line in the <integer> calling process.
dbgFullComponentNameNoneFull name of the component being executed. For example:
  • "" (empty string): main context of the application
  • "Component1": Component "Component1" used directly in the project
  • "Component1.Component2": "Component2" component used from "Component1".
dbgTypeName<Type number>Spelled out type name. <Type number> is returned:
dbgStackNoneCall stack
dbgActivateSystemDumpTrue or FalseUsed to enable (or not) the generation of system dump to transmit some problems to the Technical Support.
dbgActivateUserDumpTrue or FalseUsed to enable or disable the user memory dump (Ctrl + Pause).
Reminder: the memory dump can be saved using the dbgSaveMemoryDump function.
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.
dbgDebuggerEnabledNone
  • True if the debugger is enabled,
  • False otherwise.
Business / UI classification: Neutral code
Component: wd300vm.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help