theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Dbg_PY_API

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

+ Collaboration diagram for MkObjectC_Dbg_PY_API:

Functions

static OT_ProcRet pymkkernel_MkObjectC_DbgDump (MkObjectC_ARGS)
  Python: 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 pymkkernel_MkObjectC_DbgL (MkObjectC_ARGS)
  Python: 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 pymkkernel_MkObjectC_DbgLogC (MkObjectC_ARGS)
  Python: obj.DbgLogC(?callfunc:string="MK_NULL"?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
static OT_ProcRet pymkkernel_MkObjectC_DbgO (MkObjectC_ARGS)
  Python: obj.DbgO(?callfunc:string="MK_NULL"?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
static OT_ProcRet pymkkernel_MkObjectC_DbgSTACK (MkObjectC_ARGS)
  Python: 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 pymkkernel_MkObjectC_DbgM (OtClass_ARGS)
  Python: [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

◆ pymkkernel_MkObjectC_DbgDump()

static OT_ProcRet pymkkernel_MkObjectC_DbgDump ( MkObjectC_ARGS )
static

Python: 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 386 of file MkObjectC_py.c.

386 {
389 MK_STRN message = "var";
391 MK_STRN callfunc = NULL;
394 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
395 MkErrorC_Check(hdl,MkDbgDumpTmpl (hdl, message, callfunc));
397 goto end;
398 error:
400 end:
403}
#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 …

◆ pymkkernel_MkObjectC_DbgL()

static OT_ProcRet pymkkernel_MkObjectC_DbgL ( MkObjectC_ARGS )
static

Python: 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 406 of file MkObjectC_py.c.

406 {
409 MK_STRN message = 0;
411 MK_DBG debug = 0;
413 MK_STRN callfunc = NULL;
415 MK_I32 lvl = 0;
418 if (debug > MkRuntimeDebugGet()) {
420 goto end;
421 }
422 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
423 MkDbgL (hdl, message, debug, callfunc, lvl);
425 goto end;
426 error:
428 end:
431}
#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 …

◆ pymkkernel_MkObjectC_DbgLogC()

static OT_ProcRet pymkkernel_MkObjectC_DbgLogC ( MkObjectC_ARGS )
static

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

Definition at line 434 of file MkObjectC_py.c.

434 {
437 MK_STRN callfunc = NULL;
440 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
441 MkDbgLogC (hdl, callfunc);
443 goto end;
444 error:
446 end:
449}
#define DbgLogC_doc
#define MkDbgLogC(...)

◆ pymkkernel_MkObjectC_DbgM()

static OT_ProcRet pymkkernel_MkObjectC_DbgM ( OtClass_ARGS )
static

Python: [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 494 of file MkObjectC_py.c.

494 {
497 MK_STRN message = 0;
499 MK_DBG debug = 0;
501 MK_STRN callfunc = NULL;
503 MK_I32 lvl = 0;
506 if (debug > MkRuntimeDebugGet()) {
508 goto end;
509 }
510 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
511 MkDbgM (message, debug, callfunc, lvl);
513 goto end;
514 error:
516 end:
519}
#define DbgM_doc
#define OT_SETUP_hdl_static
#define MkDbgM(...)

◆ pymkkernel_MkObjectC_DbgO()

static OT_ProcRet pymkkernel_MkObjectC_DbgO ( MkObjectC_ARGS )
static

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

Definition at line 452 of file MkObjectC_py.c.

452 {
455 MK_STRN callfunc = NULL;
458 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
459 MkDbgO (hdl, callfunc);
461 goto end;
462 error:
464 end:
467}
#define DbgO_doc
#define MkDbgO(...)

◆ pymkkernel_MkObjectC_DbgSTACK()

static OT_ProcRet pymkkernel_MkObjectC_DbgSTACK ( MkObjectC_ARGS )
static

Python: 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 470 of file MkObjectC_py.c.

470 {
473 MK_I32 skip = 0;
475 MK_I32 num = -1;
477 MK_STRN callfunc = NULL;
480 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
481 MkDbgSTACK (hdl, skip, num, callfunc);
483 goto end;
484 error:
486 end:
489}
#define DbgSTACK_doc
#define MkDbgSTACK(...)