theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Dbg_ATL_API

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

+ Collaboration diagram for MkObjectC_Dbg_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkObjectC_DbgDump (MkObjectC_ARGS)
  Atl: MkObjectC::DbgDump $obj ?message:string="var"? ?callfunc:string="MK_NULL"? C-API
debug: Dump a instance to stderr with LNG and MQ internal data…
 
static OT_ProcRet atlmkkernel_MkObjectC_DbgL (MkObjectC_ARGS)
  Atl: MkObjectC::DbgL $fmtobj 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 atlmkkernel_MkObjectC_DbgLogC (MkObjectC_ARGS)
  Atl: MkObjectC::DbgLogC $obj ?callfunc:string="MK_NULL"? C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
static OT_ProcRet atlmkkernel_MkObjectC_DbgO (MkObjectC_ARGS)
  Atl: MkObjectC::DbgO $obj ?callfunc:string="MK_NULL"? C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
static OT_ProcRet atlmkkernel_MkObjectC_DbgSTACK (MkObjectC_ARGS)
  Atl: MkObjectC::DbgSTACK $fmtobj ?skip:int32=0? ?num:int32=-1? ?callfunc:string="MK_NULL"? C-API
debug: write the stack-trace to MkLogFileC (default: stderr) …
 
static OT_ProcRet atlmkkernel_MkObjectC_DbgM (OtClass_ARGS)
  Atl: (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

◆ atlmkkernel_MkObjectC_DbgDump()

static OT_ProcRet atlmkkernel_MkObjectC_DbgDump ( MkObjectC_ARGS )
static

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

Definition at line 394 of file MkObjectC_atl.c.

394 {
397 MK_STRN message = "var";
399 MK_STRN callfunc = NULL;
402 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
403 MkErrorC_Check(hdl,MkDbgDumpTmpl (hdl, message, callfunc));
405 goto end;
406 error:
408 end:
411}
#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 …

◆ atlmkkernel_MkObjectC_DbgL()

static OT_ProcRet atlmkkernel_MkObjectC_DbgL ( MkObjectC_ARGS )
static

Atl: MkObjectC::DbgL $fmtobj 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 414 of file MkObjectC_atl.c.

414 {
417 MK_STRN message = 0;
419 MK_DBG debug = 0;
421 MK_STRN callfunc = NULL;
423 MK_I32 lvl = 0;
426 if (debug > MkRuntimeDebugGet()) {
428 goto end;
429 }
430 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
431 MkDbgL (hdl, message, debug, callfunc, lvl);
433 goto end;
434 error:
436 end:
439}
#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 …

◆ atlmkkernel_MkObjectC_DbgLogC()

static OT_ProcRet atlmkkernel_MkObjectC_DbgLogC ( MkObjectC_ARGS )
static

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

Definition at line 442 of file MkObjectC_atl.c.

442 {
445 MK_STRN callfunc = NULL;
448 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
449 MkDbgLogC (hdl, callfunc);
451 goto end;
452 error:
454 end:
457}
#define DbgLogC_doc
#define MkDbgLogC(...)

◆ atlmkkernel_MkObjectC_DbgM()

static OT_ProcRet atlmkkernel_MkObjectC_DbgM ( OtClass_ARGS )
static

Atl: (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 502 of file MkObjectC_atl.c.

502 {
505 MK_STRN message = 0;
507 MK_DBG debug = 0;
509 MK_STRN callfunc = NULL;
511 MK_I32 lvl = 0;
514 if (debug > MkRuntimeDebugGet()) {
516 goto end;
517 }
518 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
519 MkDbgM (message, debug, callfunc, lvl);
521 goto end;
522 error:
524 end:
527}
#define DbgM_doc
#define OT_SETUP_hdl_static
#define MkDbgM(...)

◆ atlmkkernel_MkObjectC_DbgO()

static OT_ProcRet atlmkkernel_MkObjectC_DbgO ( MkObjectC_ARGS )
static

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

Definition at line 460 of file MkObjectC_atl.c.

460 {
463 MK_STRN callfunc = NULL;
466 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
467 MkDbgO (hdl, callfunc);
469 goto end;
470 error:
472 end:
475}
#define DbgO_doc
#define MkDbgO(...)

◆ atlmkkernel_MkObjectC_DbgSTACK()

static OT_ProcRet atlmkkernel_MkObjectC_DbgSTACK ( MkObjectC_ARGS )
static

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

Definition at line 478 of file MkObjectC_atl.c.

478 {
481 MK_I32 skip = 0;
483 MK_I32 num = -1;
485 MK_STRN callfunc = NULL;
488 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
489 MkDbgSTACK (hdl, skip, num, callfunc);
491 goto end;
492 error:
494 end:
497}
#define DbgSTACK_doc
#define MkDbgSTACK(...)