Re: Debugging Tcl 8.6 in Komodo 5.2

"Perez, Aaron P." <[email protected]> Fri, 20 Nov 2009 15:28:43 -0600
Newsgroups gmane.comp.ide.komodo.general
Message-ID <[email protected]>
Sorry, yes this is Windows XP and ActiveTcl build.

Expect has been working, and continues to work, for 8.5. I believe that I did install Expect via teacup. I have copied tclsh8.6.exe to tclsh.exe and flip flop tclsh.exe that way between 8.5 & 8.6 (both ActiveTcl builds).

Here's the output on 8.6 while in Komodo:
Tcl 8.6b1.1 interactive shell
To use Tk, type 'package require Tk'
package require Expect
Tcl bug: unexpected stack trace in "unknown"
set ::errorInfo
Tcl bug: unexpected stack trace in "unknown"
    while executing
"error "Tcl bug: unexpected stack trace in \"unknown\"" {}  [list CORE UNKNOWN BADTRACE $einfo $expect $errorInfo]"
    (procedure "::unknown" line 87)
    invoked from within
"::tclPkgUnknown Expect 0-"
    ("uplevel" body line 1)
    invoked from within
"DbgNub_uplevelCmd DbgNub_uplevelCmd $args"
    invoked from within
"uplevel 1 $original [::linsert $args 0 $name]"
    (procedure "::tcl::tm::UnknownHandler" line 105)
    invoked from within
"::tcl::tm::UnknownHandler ::tclPkgUnknown Expect 0-"
    ("package unknown" script)
    invoked from within
"package require Expect"


-----Original Message-----
From: Jeff Hobbs [mailto:[email protected]]
Sent: Friday, November 20, 2009 1:10 PM
To: Perez, Aaron P.
Cc: [email protected]; [email protected]
Subject: Re: [Komodo-discuss] Debugging Tcl 8.6 in Komodo 5.2

Hi Aaron,

On 20/11/2009 12:56 PM, Perez, Aaron P. wrote:
> I'm investigating the new TclOO package and trying to debug some code in
> Komodo 5.22, build 35694, Tcl 8.6b1.1, Tcl00 0.6.1, Expect 5.43.

I'm guessing from the Expect version that this is on Windows.  Is that
correct?  Is this the ActiveTcl build for 8.6?

> A script that I'm looking at works via a command start but halts during
> debugging in Komodo. So I brought up the Interactive Tcl Shell in Komodo
> got the following:
>
> Tcl 8.6b1.1 interactive shell
>
> To use Tk, type 'package require Tk'
>
> % package require Expect
> Tcl bug: unexpected stack trace in "unknown"
> % # re-run the same command
> % package require Expect
> bad code '
> # DBGNUB START: {3 512 {15876 243}}
> DbgNub_Do 0 {3 517 {16000 5}} error
> # DBGNUB END
> ': must be integer, "ok", "error", "return", "break" or "continue"
>
> Tcl 8.6, only while in Komodo, won't [package require Expect]. Any
> suggestions?

While I know that TclOO requires 8.6 (actually, 8.5 with an extension),
but does the Expect issue occur when tried with AT 8.4 or 8.5?

Did you add Expect via teacup, or ?

At the point of the error, could you get the output of:
     set ::errorInfo

It might help indicate the issue.

Regards,

Jeff

CONFIDENTIALITY STATEMENT. This email and any attachment is for the sole use of the intended recipient and may contain private, confidential and/or privileged information that may be subject to Hospira internal policies. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you have received this transmission in error, please notify Hospira immediately by return email or by email to [email protected] and delete the message and all copies and attachments from your system.
_______________________________________________
Komodo-discuss mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/Komodo-discuss