Not Logged In

trachet 1.0.2

What is This?

trachet = tracer + ratchet(step-by-step debugging service)

This Program runs as a terminal filter process, between Terminals and Applications.
It provides step-by-step debugging and formatted sequence tracing service.
You can look terminal I/O sequence on realtime, and it enables you to do step-by-step execution.

Install

Usage

$ trachet [options] command

Options:

-h, --help show this help message and exit
-o OUTPUT, --output=OUTPUT specify output device or file
-b, --break "break" the program at the startup time
-m, --monochrome don't use color in output terminal"
--version show version

Sequense Tracing

If you specified TTY device by -o option,
you can look I/O sequence tracing on realtime.

Step by Step debugging

<F6>
Toggle trace state ON/OFF.

<F7>
Toggle break state ON/OFF.

<F8>
Step to next char or control sequence.

<F9>
Step to next ESC or CSI sequence.

QuickStart

STEP1

First, You need to prepare two terminal windows,
debugged terminal and output terminal.

STEP2

At the output terminal, type “tty” command.

$ tty
/dev/ttys002

Now you get output terminal’s TTY device name(=/dev/ttys002).

STEP3

At the debugged terminal, launch trachet.

Run default shell and send formatted I/O sequences to output terminal

$ trachet -o/dev/ttys002

Run default shell and write non-colored formatted I/O sequences to a text file.

$ trachet -o log.txt

Run vim and send formatted I/O sequences to output terminal.

$ trachet -o/dev/ttys002 vim

Run emacs and send formatted I/O sequences to output terminal,
and “break” emacs on startup time