Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
CNT_DEBUG action
Declaration
Blok kódu | ||||
---|---|---|---|---|
| ||||
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 the data containercontainers.
Data The 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:
Data The 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