ada trace — Low-Level Trace Management

The ada trace command provides lower-level trace management. These commands are used internally by ada capture and are available for advanced workflows.

Usage

ada trace start <binary> [-o ./traces] [args...]
ada trace start-xcode <project> -s <scheme> [-o ./traces]
ada trace attach <pid> [-o ./traces]
ada trace stop
ada trace list [directory]

Subcommands

start

Launch a binary with tracing attached.

ada trace start <binary> [options] [-- args...]
FlagShortDefaultDescription
--output-o./tracesOutput directory for trace files

start-xcode

Build and run an Xcode project with tracing attached.

ada trace start-xcode <project> [options]
FlagShortDefaultDescription
--scheme-s(none)Scheme to build and run
--output-o./tracesOutput directory for trace files

attach

Attach to an already-running process by PID.

ada trace attach <pid> [options]
FlagShortDefaultDescription
--output-o./tracesOutput directory for trace files

stop

Stop the current trace session.

ada trace stop

list

List trace sessions in a directory.

ada trace list [directory]

The directory argument defaults to ./traces when omitted.