You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recording a trace: how it works, where the file goes, and what to send
When something in Input.Observer doesn't behave the way you expect and the console doesn't say why, a trace
usually does. This post covers what a trace is, how to record one, where the file lands, and how to share it
safely.
What a trace is
Starting with Input.Observer 1.0.2, setup installs a second copy of the engine next to the ordinary one: Input.Observer.Trace.exe. It's the same engine, built with trace points compiled in. It uses your configuration,
license, styles and plugins, and behaves like Input.Observer in every other way. The difference: it writes a
plain-text record of the decisions it makes. For example, why a right-button press started a gesture or went
straight to the window, which app group a window landed in, which action matched and with what score, what a
script did and how long it took, and why a plugin stopped.
The ordinary Input.Observer.exe has no trace code in it at all, so it costs nothing when you aren't recording.
Recording one
Exit Input.Observer (tray menu, Exit). Only one copy can run at a time.
Open C:\Program Files\Input.Observer and start Input.Observer.Trace.exe.
The i.o - Trace Categories window opens. Choose the areas to record, then OK (see the table below). The
first time, every area except Input Hooks (very detailed) is ticked, which is a good default.
Reproduce the problem, ideally right away. Write down the time you did it.
Exit the trace copy (tray menu, Exit) and start Input.Observer again from the Start menu.
Start with Windows always starts the ordinary copy, never the trace copy.
Where the file is
One file per run, in a Logs folder next to your configuration file:
(Paste %APPDATA%\Input.Observer\Logs into Explorer's address bar.) If you use a portable copy, or moved your
configuration somewhere else, Logs sits next to that config.toml instead.
The time (to the millisecond), the area in brackets, where in the engine the line came from, and the message.
Which areas to pick
In the window
What it records
Startup & Shutdown
Launch order, Safe Mode, the password, license and configuration checks, shutdown order
Settings Load & Save
Which configuration file was used, load and save results, reloads, encryption errors
License & Activation
Activation, trial state, the license file, the license agreement
Input Hooks (very detailed)
Every raw mouse and keyboard event, hook installation and recovery
Gesture Capture & Drawing
Why each press of a draw button started a gesture or was passed through, the trail, hints, sounds
Gesture Recognition & Action Matching
Match scores, app group and profile, which action won and why, global events
Hotkeys & Ignore Keys
Hotkey registration and failures, each hotkey press, ignore keys
Text Expansion
Abbreviation matches and replacement lengths (never the text itself)
Window & Monitor Detection
Which program and app group the window under the pointer belongs to, the foreground window, monitors
Script Execution
Each action's start, end and result, timers, folder watches, AutoHotkey runs, builtin errors
Plugins
The Styles plugin and other plugins: start, connection, crashes, restarts
Config UI Connection
The configuration window's connection to the engine (one line per request, so it's chatty)
Tray, Dialogs & Overlays
The tray icon and menu, the engine's dialogs, message overlays, the console
Console Script Editor
The console's script editor
A rough guide:
A gesture doesn't start, or starts where it shouldn't: Gesture Capture & Drawing, Window & Monitor Detection.
The wrong action runs, or none: Gesture Recognition & Action Matching, Window & Monitor Detection.
An action runs but does the wrong thing: Script Execution.
A hotkey doesn't fire: Hotkeys & Ignore Keys.
Trails, hints or sounds misbehave: Plugins, Gesture Capture & Drawing.
It won't start, or crashes on start: Startup & Shutdown, Settings Load & Save, License & Activation.
If you aren't sure, keep the default selection.
Best practices
Keep it short. Start the trace copy, reproduce the problem once or twice, exit. A five-minute trace is far
easier to read than a day-long one.
Note the time you reproduced the problem, and mention it when you post.
Leave Input Hooks (very detailed) off unless I ask for it. See the next section.
Don't leave the trace copy running. It works normally, but it writes to disk all the time.
Same version. The trace copy is always the same version as the Input.Observer it was installed with.
Mention the version (About page, Copy) when you post.
Input Hooks records every key you press
This is the one area to treat with care. Input Hooks (very detailed) writes a line for every mouse event and
every key event the engine receives, with the key code. Anyone who reads the file can work out what you typed
while it was recording: passwords, messages, everything, in any program. That's on purpose: hook problems can
only be diagnosed from the real events. So:
It's off by default, and I'll only ask for it when a problem can't be found any other way.
Record only the few seconds around the problem. Start the trace copy, reproduce, exit.
Don't type anything private while it records: no passwords, no sign-ins, no messages.
Never post a trace with Input Hooks ticked publicly. Email it to support@input.observer instead, and delete
it once the problem is solved.
What's never in a trace
Apart from what Input Hooks records: passwords you give Input.Observer, license keys, the text text expansion types or replaces, clipboard contents,
and the titles of other programs' windows. Program names (like notepad.exe) and window class names are recorded,
because they decide which app group applies.
Before you share it
A trace is plain text, so read it before you post it:
File paths include your Windows user name (C:\Users\<you>\...). Replace it if you'd rather not share it.
Your own names appear: actions, app groups, scripts, and any window-title text your own actions search for.
Attach the file to your post rather than pasting it in, or zip it if it's large. If you'd rather not post it
publicly, email it to support@input.observer and say so in the thread.
A trace stays on your PC. Nothing is sent anywhere unless you send it. Old trace files aren't deleted for you, so
clear out the Logs folder whenever you like.
Skipping the window
If I ask you to record the same areas several times, clear Show this window at every launch before OK. The
trace copy then records those areas at every start without asking. To get the window back, delete trace.toml in
the same folder as config.toml.
The help covers this too: Troubleshooting, "Recording a trace".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Recording a trace: how it works, where the file goes, and what to send
When something in Input.Observer doesn't behave the way you expect and the console doesn't say why, a trace
usually does. This post covers what a trace is, how to record one, where the file lands, and how to share it
safely.
What a trace is
Starting with Input.Observer 1.0.2, setup installs a second copy of the engine next to the ordinary one:
Input.Observer.Trace.exe. It's the same engine, built with trace points compiled in. It uses your configuration,license, styles and plugins, and behaves like Input.Observer in every other way. The difference: it writes a
plain-text record of the decisions it makes. For example, why a right-button press started a gesture or went
straight to the window, which app group a window landed in, which action matched and with what score, what a
script did and how long it took, and why a plugin stopped.
The ordinary
Input.Observer.exehas no trace code in it at all, so it costs nothing when you aren't recording.Recording one
C:\Program Files\Input.Observerand startInput.Observer.Trace.exe.first time, every area except Input Hooks (very detailed) is ticked, which is a good default.
Start with Windows always starts the ordinary copy, never the trace copy.
Where the file is
One file per run, in a
Logsfolder next to your configuration file:(Paste
%APPDATA%\Input.Observer\Logsinto Explorer's address bar.) If you use a portable copy, or moved yourconfiguration somewhere else,
Logssits next to thatconfig.tomlinstead.Each line looks like this:
The time (to the millisecond), the area in brackets, where in the engine the line came from, and the message.
Which areas to pick
A rough guide:
If you aren't sure, keep the default selection.
Best practices
easier to read than a day-long one.
Mention the version (About page, Copy) when you post.
Input Hooks records every key you press
This is the one area to treat with care. Input Hooks (very detailed) writes a line for every mouse event and
every key event the engine receives, with the key code. Anyone who reads the file can work out what you typed
while it was recording: passwords, messages, everything, in any program. That's on purpose: hook problems can
only be diagnosed from the real events. So:
it once the problem is solved.
What's never in a trace
Apart from what Input Hooks records: passwords you give Input.Observer, license keys, the text text expansion types or replaces, clipboard contents,
and the titles of other programs' windows. Program names (like
notepad.exe) and window class names are recorded,because they decide which app group applies.
Before you share it
A trace is plain text, so read it before you post it:
C:\Users\<you>\...). Replace it if you'd rather not share it.publicly, email it to support@input.observer and say so in the thread.
A trace stays on your PC. Nothing is sent anywhere unless you send it. Old trace files aren't deleted for you, so
clear out the
Logsfolder whenever you like.Skipping the window
If I ask you to record the same areas several times, clear Show this window at every launch before OK. The
trace copy then records those areas at every start without asking. To get the window back, delete
trace.tomlinthe same folder as
config.toml.The help covers this too: Troubleshooting, "Recording a trace".
All reactions