PDA

View Full Version : tivosh in diagnostic mode



TiVo_Canada
08-23-2001, 12:57 PM
I was looking for a method to debug source in tivosh.



Get a tool that already has it installed, such as Expect. Expect
is just tclsh plus the Expect commands plus the debugger commands.
(Just ignore the Expect commands.) Why would you want to do this?
Several reasons:
2.1) You don't have dynamic loading enabled
2.2) You need to debug starting before the first line in your
script.

If you want to debug Tk programs, use Expectk (this comes with
Expect) which is just wish + Expect + Debugger.


Try this at your bash prompt:

expect
expect1.1> ?