Add runtime diagnostic logging for level setup, native Git calls, inspection, validation, and UI command flow
This commit is contained in:
@@ -81,6 +81,15 @@ Test outputs and logs are written under project-local build directories:
|
||||
- Per-test emulator logcat files: `app/build/outputs/androidTest-results/connected/debug/<device-name>/logcat-*.txt`
|
||||
- Emulator startup log: `build/reports/android-emulator.log`
|
||||
|
||||
Runtime diagnostics are emitted to Android logcat with the `GitHugAndroid` tag. To capture a focused trace from a device or emulator:
|
||||
|
||||
```bash
|
||||
android-sdk/platform-tools/adb logcat -c
|
||||
android-sdk/platform-tools/adb logcat -v time -s GitHugAndroid:D '*:S'
|
||||
```
|
||||
|
||||
The trace includes level loading and preparation timings, native Git argv/cwd/exit/output previews, repository inspection timings, validation snapshots, and the final app decision for each submitted command. For level-resolution issues, compare the `GitRuntime`, `GitProcess`, `GitInspector`, `Validation`, and `GitHugApp` lines around the submitted command.
|
||||
|
||||
To build installable/debuggable artifacts:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user