Crafter.Debug/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 5d34df7afb
fix(cli): print lldb by its path, and report a held app as held
Tried on the example with the app's sandbox, two things were wrong:
- `debugger` printed `flatpak enter <id> lldb -p <pid>`, and flatpak
  enter runs a command without the sandbox's PATH, which /app/bin is
  on: "Failed to execute child process lldb". It now prints the path
  it found, /app/bin/lldb, which attached, listed threads and detached.
- With the app held by that debugger, the handshake times out, and
  the client said "cannot reach basic on port ..." and exited 3, no
  instance, though its lock said it lived. It now says the app is
  alive but not answering, stopped in a debugger or hung, prints how
  to attach, check and end it, and exits 5.

Environment::haveLldb becomes lldb, the path or empty. ShouldServeOverQuic
covers the second with an instance whose lock is held and whose port
is silent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:21:41 +01:00
..
ShouldAnswerRequests feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
ShouldDescribeDefaultsAndRequired feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldDiscoverLiveInstances feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
ShouldEvaluateConditions feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
ShouldInvokeCommands feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
ShouldPauseAndStep fix(session): report the frame a pause began at 2026-11-01 03:21:41 +01:00
ShouldRecordTimeline feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
ShouldReportDecodeErrorsWithPaths feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldResolveWatchPaths fix(core): encode a float as its shortest decimal 2026-11-01 03:21:41 +01:00
ShouldRoundTripAggregates fix(core): encode a float as its shortest decimal 2026-11-01 03:21:41 +01:00
ShouldRoundTripJson feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
ShouldRunClientCommands fix(cli): print lldb by its path, and report a held app as held 2026-11-01 03:21:41 +01:00
ShouldServeOverQuic fix(cli): print lldb by its path, and report a held app as held 2026-11-01 03:21:41 +01:00
ShouldWaitTraceAndFollow feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00