Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: aotto1968 Newsgroups: comp.lang.tcl Subject: =?UTF-8?Q?=5Binfo_stacktrace=5D_=E2=86=92_ask_for_assistance?= Date: Mon, 25 Nov 2024 22:13:38 +0100 Organization: A noiseless patient Spider Lines: 46 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 25 Nov 2024 22:13:39 +0100 (CET) Injection-Info: dont-email.me; posting-host="b7e89338bbfee4f9f25a46a8094317aa"; logging-data="3161536"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tU0eJwKHebGanWsGD8rzl+YjKEmA4SWw=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Ap9XBGHQgzDGSC9X2oSooSM/1zU= Content-Language: en-US Bytes: 3664 Hi, my goal is to transfer the "errorInfo" into a "stacktrace" used by my SW. -> I require: command, fileName and lineNumber -> the [info errorstack] return "something" which is missing some essential parts. [info errorstack]: > INNER {invokeStk1 ::tcllcconfig::LcSettingC::MK_NULL LookupBool in} CALL {::oo::Obj40::my LcSettingLookupBool} as I understand: $setting LookupBool $name == ::tcllcconfig::LcSettingC::MK_NULL LookupBool in -> problem: post versa pre parse expression -> problem: the fileName(class etc) is *not* available ==== lcconfig-2-0-5-(0-0-0+binary+pipe+tcl.pipe.pipe) use invalid cfs FAILED ---- Result was: C> (client-0-0-0) [ServiceCallError] S> (server-0-0-0) [tcl_mqmsgque_ServiceCall] 'LcSettingC' hdl is NULL while executing "$setting LookupBool $name" (class "::LibLcConfigRpcServer" method "LcSettingLookupBool" line 4) invoked from within "::oo::Obj40::my LcSettingLookupBool" C> (client-0-0-0) | 871 | send_mq.c | MqSendEND_AND_WAIT_RT C> (client-0-0-0) | 508 | high_lng.h | $ctx Send 'W' ... '2E3A471B{LcSettingRpc::LookupBool}:HC@O' ... C> (client-0-0-0) | 522 | high_lng.h | $ctx Send... C> (client-0-0-0) | 75 | ~KernelRpcClient.tcl | my Send $typ $fmt {*}$args C> (client-0-0-0) | 588 | ~ConfigRpcClient.tcl | $rpc send "W" "2E3A471B{LcSettingRpc::LookupBool}:HC@O" $hdl $name C> (client-0-0-0) | 3 | lcconfig.test | $null LookupBool in C> (client-0-0-0) | 2405 | tcltest-2.5.3.tm | uplevel 1 $script C> (client-0-0-0) | 1 | lcconfig.test | ::tcltest::RunTest lcconfig-2-0-5-(0-0-0+binary+pipe+tcl.pipe.pipe) { ... C> (client-0-0-0) | 1651 | tcltest-2.5.3.tm | uplevel 1 $script C> (client-0-0-0) | 1 | lcconfig.test | ::tcltest::Eval {::tcltest::RunTest lcconfig-2-0-5-(0-0-0+binary+pipe+tcl.pipe.pipe) { ... C> (client-0-0-0) | 2021 | tcltest-2.5.3.tm | uplevel 1 [list [namespace origin Eval] $command 1] C> (client-0-0-0) | 87 | lcconfig.test | test lcconfig-2-0-5-($F+$B+$C+$S) { use invalid cfs } -constraints {$B eq "binary"} -setup { ... C> (client-0-0-0) | 6 | lcconfig.test | foreach F [handles] { ... C> (client-0-0-0) | 649 | library.tcl | uplevel $code C> (client-0-0-0) | 195 | lcconfig.test | Block 2 { ... C> (client-0-0-0) | 104 | lcconfig.test | foreach S [filter SRV_LST $C ] { ... C> (client-0-0-0) | 101 | lcconfig.test | foreach C [getEnv COM_LST] { ... C> (client-0-0-0) | 98 | lcconfig.test | foreach B [getEnv BIN_LST] { ...