Checking the trace itself
[Debug] DebugTraceSelfCheckmakes the framework test its own trace code at start. It runs the line formatter, the rate limiter and the filter once and writes whether they passed to the log. Most modders never need it.- The offline harness runs the same engine without the game. It prints one PASS or FAIL line for each check, and it exits with code 1 if any check fails.
- It reads
0Harmony.dllfromBepInExCore, which defaults toGameDir\BepInEx\core. Pass-p:BepInExCore=<folder>to use another folder.
To run it, use this command from the frameworkâs source folder:
dotnet run --project tools/DebugTraceHarness -c Release