Debugging Functions
Debugging functions
To open the debug console:
Declaration
D2_OpenDbgConsole
(bOpen)
Parameters
bOpen | typ BOOL | TRUE - open the debug console. |
Description
If the value of the parameter is TRUE, the function will open the text window where are displayed the following debug information:
communication with the D2000 Server
internal debug logs
debug logs written by the function D2_WriteToConsole
If the value of the parameter is FALSE the text window will be closed. Closing the text window will close the MS Excel application !!!
Return value
Return value of the function is always TRUE.
To write a text into the debug console:
Declaration
D2_WriteToConsole
(dbgText)
Parameters
dbgText | typ TEXT | Text to write in the debug console. |
Description
The function writes the text defined by the parameter dbgText into the debug console. If needed, it opens the debug console (internal call of the function D2_OpenDbgConsole).