|
|
|
|
|
- Result according to the requested information
dbgInfo (Function) In french: dbgInfo Returns a debug information.
Trace(dbgInfo(dbgProcess))
Trace(dbgInfo(dbgElement))
Trace(dbgInfo(dbgElement, dbgCallingProcess))
n is int
Trace(dbgInfo(dbgTypeName, TypeVar(n))
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> |
---|
dbgProcess | None | Caption of process currently run | | dbgCurrentProcess | Caption of process currently run | | dbgCallingProcess | Caption of calling process. | | <an integer> | Caption of <integer> calling process | dbgElement | None | Full internal name of process currently run | | dbgCurrentProcess | Full internal name of process currently run | | dbgCallingProcess | Full internal name of the calling process | | <an integer> | Full internal name of <integer> calling process | dbgElementShortName | None | - Name of the control associated with the WLanguage event being executed,
- Name of the procedure being executed.
| dbgLine | None | Number of current line in the process currently run.
| | dbgCurrentProcess | Number of current line in the process currently run.
| | dbgCallingProcess | Number of current line in the calling process.
| | <an integer> | Number of current line in the <integer> calling process.
| dbgFullComponentName | None | Full name of the component being executed. For example:- "" (empty string): main context of the application
- "Component1": "Component1" component used directly in the project
- "Component1.Component2": "Component2" component used from "Component1".
| dbgTypeName | <Type number> | Spelled out type name. <Type number> is returned: | dbgStack | None | Call stack | dbgActivateSystemDump | True or False | Used to enable (or not) the generation of system dump to transmit some problems to the Technical Support. | dbgActivateUserDump | True or False | Used to enable or disable the user memory dump (Ctrl + Pause). | 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. | dbgDebuggerEnabled | None | - True if the debugger is enabled,
- False otherwise.
|
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|