Next: , Previous: , Up: STARTER Debugger   [Contents]


2 Building and Running

2.1 Prerequisites

2.2 Build

If the tree does not yet include a ready configure, generate the build system first, then configure and build:

$ autoreconf -i
$ ./configure
$ make
$ make check
$ sudo make install

A release tarball already includes configure; you can skip autoreconf -i and start at ./configure.

Rebuild this manual with make -C doc (Info) or make -C doc pdf.

2.3 Command line

$ starter-debugger
$ starter-debugger --core=127.0.0.1:17373
$ starter-debugger --auth-token=SECRET
$ starter-debugger examples/session.stdbg
$ starter-debugger --version
--core=HOST:PORT

Address of the core debug server. Default: 127.0.0.1:17373.

--auth-token=TOKEN

Shared secret for Authenticate. Must match starter-core debug-auth-token when that is set. Omit or leave empty for anonymous attach.

--version

Print package name and version, then exit.

SCRIPT

Optional path to a .stdbg command script (same language as the REPL). When given, the script runs and the process exits.

Non-interactive stdin (pipes) is supported: lines are executed while the GLib main loop still dispatches D-Bus signals.

Command history for interactive sessions is stored in ~/.starter-debugger_history.