theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Dbg_RB_API

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

+ Collaboration diagram for MkObjectC_Dbg_RB_API:

Functions

static OT_ProcRet rbmkkernel_MkObjectC_DbgDump (MkObjectC_ARGS)
  Ruby: 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 rbmkkernel_MkObjectC_DbgL (MkObjectC_ARGS)
  Ruby: 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 rbmkkernel_MkObjectC_DbgLogC (MkObjectC_ARGS)
  Ruby: obj.DbgLogC(?callfunc:string="MK_NULL"?) C-API
debug: write a short-obj-summary to MkLogFileC (default: stderr) …
 
static OT_ProcRet rbmkkernel_MkObjectC_DbgO (MkObjectC_ARGS)
  Ruby: obj.DbgO(?callfunc:string="MK_NULL"?) C-API
debug: write the object-details to MkLogFileC (default: stderr) …
 
static OT_ProcRet rbmkkernel_MkObjectC_DbgSTACK (MkObjectC_ARGS)
  Ruby: 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 rbmkkernel_MkObjectC_DbgM (OtClass_ARGS)
  Ruby: (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

◆ rbmkkernel_MkObjectC_DbgDump()

static OT_ProcRet rbmkkernel_MkObjectC_DbgDump ( MkObjectC_ARGS )
static

Ruby: 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 368 of file MkObjectC_rb.c.

368 {
371 MK_STRN message = "var";
373 MK_STRN callfunc = NULL;
376 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
377 MkErrorC_Check(hdl,MkDbgDumpTmpl (hdl, message, callfunc));
379 end: MK_UNUSED /* LONG JUMP on error */
382}
#define OT_SETUP_VARARGS(min, max, d)
#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
#define MK_UNUSED
mark unnused variables and functions
const MK_STRB * MK_STRN
constant string pointer data-type
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …

◆ rbmkkernel_MkObjectC_DbgL()

static OT_ProcRet rbmkkernel_MkObjectC_DbgL ( MkObjectC_ARGS )
static

Ruby: 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 385 of file MkObjectC_rb.c.

385 {
388 MK_STRN message = 0;
390 MK_DBG debug = 0;
392 MK_STRN callfunc = NULL;
394 MK_I32 lvl = 0;
397 if (debug > MkRuntimeDebugGet()) {
399 goto end;
400 }
401 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
402 MkDbgL (hdl, message, debug, callfunc, lvl);
404 end: MK_UNUSED /* LONG JUMP on error */
407}
#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 …

◆ rbmkkernel_MkObjectC_DbgLogC()

static OT_ProcRet rbmkkernel_MkObjectC_DbgLogC ( MkObjectC_ARGS )
static

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

Definition at line 410 of file MkObjectC_rb.c.

410 {
413 MK_STRN callfunc = NULL;
416 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
417 MkDbgLogC (hdl, callfunc);
419 end: MK_UNUSED /* LONG JUMP on error */
422}
#define DbgLogC_doc
#define MkDbgLogC(...)

◆ rbmkkernel_MkObjectC_DbgM()

static OT_ProcRet rbmkkernel_MkObjectC_DbgM ( OtClass_ARGS )
static

Ruby: (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 461 of file MkObjectC_rb.c.

461 {
464 MK_STRN message = 0;
466 MK_DBG debug = 0;
468 MK_STRN callfunc = NULL;
470 MK_I32 lvl = 0;
473 if (debug > MkRuntimeDebugGet()) {
475 goto end;
476 }
477 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
478 MkDbgM (message, debug, callfunc, lvl);
480 end: MK_UNUSED /* LONG JUMP on error */
483}
#define DbgM_doc
#define OT_SETUP_hdl_static
#define MkDbgM(...)

◆ rbmkkernel_MkObjectC_DbgO()

static OT_ProcRet rbmkkernel_MkObjectC_DbgO ( MkObjectC_ARGS )
static

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

Definition at line 425 of file MkObjectC_rb.c.

425 {
428 MK_STRN callfunc = NULL;
431 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
432 MkDbgO (hdl, callfunc);
434 end: MK_UNUSED /* LONG JUMP on error */
437}
#define DbgO_doc
#define MkDbgO(...)

◆ rbmkkernel_MkObjectC_DbgSTACK()

static OT_ProcRet rbmkkernel_MkObjectC_DbgSTACK ( MkObjectC_ARGS )
static

Ruby: 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 440 of file MkObjectC_rb.c.

440 {
443 MK_I32 skip = 0;
445 MK_I32 num = -1;
447 MK_STRN callfunc = NULL;
450 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
451 MkDbgSTACK (hdl, skip, num, callfunc);
453 end: MK_UNUSED /* LONG JUMP on error */
456}
#define DbgSTACK_doc
#define MkDbgSTACK(...)