theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Dbg_TCL_API

MkObjectC - log a debugging-message to the MkLogFileC (default: stderr) … More...

+ Collaboration diagram for MkObjectC_Dbg_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkObjectC_DbgDump (MkObjectC_ARGS)
  Tcl: $obj DbgDump ?message:string="var"? ?callfunc:string="MK_NULL"? C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
static OT_ProcRet tclmkkernel_MkObjectC_DbgL (MkObjectC_ARGS)
  Tcl: $fmtobj DbgL message:string ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …
 
static OT_ProcRet tclmkkernel_MkObjectC_DbgLogC (MkObjectC_ARGS)
  Tcl: $obj DbgLogC ?callfunc:string="MK_NULL"? C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
static OT_ProcRet tclmkkernel_MkObjectC_DbgO (MkObjectC_ARGS)
  Tcl: $obj DbgO ?callfunc:string="MK_NULL"? C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
static OT_ProcRet tclmkkernel_MkObjectC_DbgSTACK (MkObjectC_ARGS)
  Tcl: $fmtobj DbgSTACK ?skip:int32=0? ?num:int32=-1? ?callfunc:string="MK_NULL"? C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
static OT_ProcRet tclmkkernel_MkObjectC_DbgM (OtClass_ARGS)
  Tcl: (static) MkObjectC DbgM message:string ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …
 

Detailed Description

MkObjectC - log a debugging-message to the MkLogFileC (default: stderr) …

This functions are "helpers" to support the programmer.

Function Documentation

◆ tclmkkernel_MkObjectC_DbgDump()

static OT_ProcRet tclmkkernel_MkObjectC_DbgDump ( MkObjectC_ARGS )
static

Tcl: $obj DbgDump ?message:string="var"? ?callfunc:string="MK_NULL"? C-API
debug: Dump a instance to stderr with LNG and MQ internal data…

Definition at line 417 of file MkObjectC_tcl.c.

417 {
420 MK_STRN message = "var";
422 MK_STRN callfunc = NULL;
425 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
426 MkErrorC_Check(hdl,MkDbgDumpTmpl (hdl, message, callfunc));
428 goto end;
429 error:
431 end:
434}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_FRAME_CLEANUP
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl
#define MkDbgDumpTmpl(...)
#define DbgDump_doc
const MK_STRB * MK_STRN
constant string pointer data-type
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …

◆ tclmkkernel_MkObjectC_DbgL()

static OT_ProcRet tclmkkernel_MkObjectC_DbgL ( MkObjectC_ARGS )
static

Tcl: $fmtobj DbgL message:string ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix …

Definition at line 437 of file MkObjectC_tcl.c.

437 {
440 MK_STRN message = 0;
442 MK_DBG debug = 0;
444 MK_STRN callfunc = NULL;
446 MK_I32 lvl = 0;
449 if (debug > MkRuntimeDebugGet()) {
451 goto end;
452 }
453 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
454 MkDbgL (hdl, message, debug, callfunc, lvl);
456 goto end;
457 error:
459 end:
462}
#define OT_CHECK_NI4(val)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_hdl__null_allow
#define DbgL_doc
signed int MK_I32
4 byte integer data-type
int MK_DBG
debug-level data-type …
#define MkDbgL(...)
static MK_I32 MkRuntimeDebugGet(void)
get the MkRuntimeS::debug value …

◆ tclmkkernel_MkObjectC_DbgLogC()

static OT_ProcRet tclmkkernel_MkObjectC_DbgLogC ( MkObjectC_ARGS )
static

Tcl: $obj DbgLogC ?callfunc:string="MK_NULL"? C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …

Definition at line 465 of file MkObjectC_tcl.c.

465 {
468 MK_STRN callfunc = NULL;
471 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
472 MkDbgLogC (hdl, callfunc);
474 goto end;
475 error:
477 end:
480}
#define DbgLogC_doc
#define MkDbgLogC(...)

◆ tclmkkernel_MkObjectC_DbgM()

static OT_ProcRet tclmkkernel_MkObjectC_DbgM ( OtClass_ARGS )
static

Tcl: (static) MkObjectC DbgM message:string ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
debug: write a static-marker to the MkLogFileC (default: stderr) …

Definition at line 525 of file MkObjectC_tcl.c.

525 {
528 MK_STRN message = 0;
530 MK_DBG debug = 0;
532 MK_STRN callfunc = NULL;
534 MK_I32 lvl = 0;
537 if (debug > MkRuntimeDebugGet()) {
539 goto end;
540 }
541 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
542 MkDbgM (message, debug, callfunc, lvl);
544 goto end;
545 error:
547 end:
550}
#define DbgM_doc
#define OT_SETUP_hdl_static
#define MkDbgM(...)

◆ tclmkkernel_MkObjectC_DbgO()

static OT_ProcRet tclmkkernel_MkObjectC_DbgO ( MkObjectC_ARGS )
static

Tcl: $obj DbgO ?callfunc:string="MK_NULL"? C-API
debug: write the object-details to MkLogFileC (default: stderr) …

Definition at line 483 of file MkObjectC_tcl.c.

483 {
486 MK_STRN callfunc = NULL;
489 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
490 MkDbgO (hdl, callfunc);
492 goto end;
493 error:
495 end:
498}
#define DbgO_doc
#define MkDbgO(...)

◆ tclmkkernel_MkObjectC_DbgSTACK()

static OT_ProcRet tclmkkernel_MkObjectC_DbgSTACK ( MkObjectC_ARGS )
static

Tcl: $fmtobj DbgSTACK ?skip:int32=0? ?num:int32=-1? ?callfunc:string="MK_NULL"? C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …

Definition at line 501 of file MkObjectC_tcl.c.

501 {
504 MK_I32 skip = 0;
506 MK_I32 num = -1;
508 MK_STRN callfunc = NULL;
511 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
512 MkDbgSTACK (hdl, skip, num, callfunc);
514 goto end;
515 error:
517 end:
520}
#define DbgSTACK_doc
#define MkDbgSTACK(...)