CNT_DEBUG action


Declaration
CNT_DEBUG _hContainer [,"User ident string"]

Parameters
_hContainer in Unique identifier of Int type - data container.
"User ident string" in String that is used in the debug information. It is defined by a user.

Description
This action ensures enabling / disabling of debug information in the particular event.log file when working with data container.
Data container is specified by a unique identifier - handle (_hContainer) and has the user identifier "text user ident".

Debug information contains:

"text user ident" ; _handle'Img ; CNT_AKCIA ; _key

The items are separated by semi-colon character ";".

Begin of debug mode
 -- CNT_DEBUG _handle, "text user ident"

End of debug mode
 -- CNT_DEBUG _handle

Output:
[15-02-2013 15:11:20] Debug CNT with handle :  1 and userIdent : TEST CNT1 : Start
[15-02-2013 15:11:24] TEST CNT1; 1;CNT_INSERT;2
[15-02-2013 15:11:26] TEST CNT1; 1;Insert Caller CNT (IN OUT CNT_HANDLE);
[15-02-2013 15:11:27] TEST CNT1; 1;CNT_FIND;2
[15-02-2013 15:11:28] TEST CNT1; 1;Return Caller CNT;
[15-02-2013 15:11:31] Debug CNT with handle :  1 and userIdent :  TEST CNT1: Stop


Related pages:

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .