Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

Odd debug behavior


Hi,

I've used expect's debug facility some time ago with no problem.
Recently, I've switched over to a Fedora 6 environment and I'm running
into problems with it.   Here is a sample app called "tst.tcl" to
illustrate:

#!/usr/bin/expect
puts "foo"
debug 1
puts "bar"

When I run it, I get the following:

tjfc6:~$

> tst.tcl

foo
1: puts "bar"
dbg1.0> tjfc6:~$


Rather than stopping at the "debug 1" point, execution continues until
the app completes.  The behavior I've seen on other platforms is to
halt at the debug statement and allow interactive commands.  I am
using expect version 5.43.0.

Anyone have any ideas what's going on?

Thanks,
-T

Followup:

I found the problem.  Its a known issue in version 5.43.

Does anyone know if there is a patch available?

-T

On Jun 6, 9:56 pm, gamename <namesagame-use@yahoo.com> wrote:

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc