BSD Ports

x11/xtruss 10030 NetBSD

Easy-to-use X protocol tracing program

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
x11
Package size
97.2 KiB, 300.5 KiB installed

Description

Any programmer accustomed to writing programs on Linux or System V-type Unixes will have encountered the program variously known as strace or truss, which monitors another program and produces a detailed log of every system call the program makes - in other words, all the program's interactions with the OS kernel. This is often an invaluable debugging tool, and almost as good an educational one.

When it's a GUI program (or rather, the GUI-related behaviour of a program) that you want to understand or debug, though, the level of interaction with the OS kernel is rarely the most useful one. More helpfully, one would like to log all the program's interactions with the X server in the same way.

This package provides xtruss, an X protocol loggers. It has a command-line syntax similar to strace in its default mode, you just prefix "xtruss" to the same command line you would have run anyway and its output format is also more like strace, putting requests and responses on the same line of output where reasonably possible.

Install

Binary package:

pkgin install xtruss

From pkgsrc:

cd /usr/pkgsrc/x11/xtruss && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_6410030
NetBSD 10.1 aarch6410030
SmartOS / illumos x86_6410030
macOS 15 arm6410030

Dependencies

No port depends on this one.