Collect a Trace
The trace records what Invantive Drive does. Invantive support can ask for a trace to find the cause of a problem.
A trace is collected as follows:
- Choose "Settings".
- Expand "Advanced settings".
- Switch on "Trace to file active". This also switches on "Trace active".
- Repeat the action that causes the problem.
- Choose "Open trace folder". File Explorer opens the folder of the trace files, which holds a folder per day.
- Switch off "Trace active" when the trace is no longer needed. This also switches off "Trace to file active" and closes the trace files.
A change applies at once, to the app and to the drive. Invantive Drive does not need a restart.
A trace file always belongs to an active trace. "Trace active" on its own traces without a file, for example to a debugger. "Trace to file active" can be switched off while "Trace active" stays on.
The app and the drive each write a trace file of their own, in the same folder. "Trace file of the app" and "Trace file of the drive" show the files written now, as text that can be selected and copied, but not changed. A line is absent while that part writes no trace file. "Trace file of the drive" is also absent while the drive is paused. Invantive support needs both files.
"Trace folder" shows the folder of the trace files. Another folder is chosen by typing its full path, such as D:\Trace, followed by Enter. Invantive Drive then closes the trace file in the previous folder and continues in the new folder. An empty value chooses the default trace folder again. A folder that cannot be created or written is not used. The trace then continues in the previous folder and the page "Notifications" tells why.
The settings start with the values of the environment variables INVANTIVE_TRACE_ACTIVE, INVANTIVE_TRACE_TO_FILE and INVANTIVE_TRACE_FOLDER. A change made in "Advanced settings" lasts until Invantive Drive is closed and is not kept: at the next start these variables decide again. A trace that must be active from the start of Invantive Drive is set with these variables. See Folders.