• info frame NUMBER and oo method call

    From aotto1968@21:1/5 to All on Sat Aug 13 20:25:03 2022
    Hi,

    I have an easy server like:

    ---------------------------------------------
    ::oo::class create ConfigServer {
    superclass MqContextC
    ..
    method LcConfigLookupFloat {} {
    set config [my LcConfigC_ReadHDL]
    set path [my ReadC]
    set __retTcl__ [$config LookupFloat $path]
    if {[my ServiceIsTransaction]} {
    my Send "R" "D" $__retTcl__
    }
    }
    ..
    }

    # package-main
    tclmsgque::MqMsgque Main {
    ...
    try {
    $srv LinkCreate $args
    $srv ProcessEvent MQ_WAIT_FOREVER
    } on error {} {
    $srv ErrorCatch
    } finally {
    $srv Exit
    }
    }
    ----------------------------------------------

    and an error in *Lookupfloat* create a stacktrace like:

    (client-0-0-0) [service-call-error] <Tok|%014> <Num|1>
    (server-0-0-0) [LcConfigSettingError] command failed
    (server-0-0-0) | 372 | LcConfigC_tcl.c | tcl_lcconfig_LcConfigC_LookupFloat
    (server-0-0-0) | 372 | LcConfigC_tcl.c | double [$config LookupFloat path:string]
    (server-0-0-0) | 224 | ConfigServer.tcl | $config LookupFloat $path
    (server-0-0-0) | 16 | ConfigServer.tcl | $srv ProcessEvent MQ_WAIT_FOREVER
    (server-0-0-0) | 14 | ConfigServer.tcl | try {
    $srv LinkCreate $args
    $srv ProcessEvent MQ_WAIT_FOREVER
    } on error {} {
    $srv ErrorCatch
    } finally {
    $srv Exit
    }

    important are the last *three* lines this is the result from
    info frame 0, -1 and -2

    → as you see the "oo-methode" call is complete missing


    mfg

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)