Trella,
    Not sure if this will help but a solution that we have used successfully
in TCL 8.x is the Tcl_CreateTrace function. This function permits you to
define a callback function that gets executed prior to each TCL command
being executed.

Thus you can check for interrupt events and terminate early if required.

Whether the same mechanism exists in TCL/Java or Jacl I don't know but it
may point you in the right direction.

Regards
Steve Carter

----- Original Message -----
From: Trella Christopher-P28453 <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 19, 2000 6:08 AM
Subject: [Tcl Java] Interrupting the interpreter


> In jacl, is there anyway to interrupt the interpreter while it is
executing
> (say an infinite loop is being executed)?
>
> Chris Trella
> 480-675-1347
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>
>
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by Scriptics Corporation.
> To subscribe:    send mail to [EMAIL PROTECTED]
>                  with the word SUBSCRIBE as the subject.
> To unsubscribe:  send mail to [EMAIL PROTECTED]
>                  with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'.
> An archive is available at
http://www.mail-archive.com/tcljava@scriptics.com
>

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to