Crafter.Debug/implementations
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
..
Crafter.Debug-Condition.cpp feat(registry): commands, watches, samples, the timeline and conditions 2026-11-01 01:40:59 +01:00
Crafter.Debug-Registry.cpp feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Session.cpp fix(session): report the frame a pause began at 2026-11-01 03:21:41 +01:00
Crafter.Debug-Timeline.cpp feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug-Transport.cpp feat(transport): serve the session over QUIC on loopback 2026-11-01 03:06:56 +01:00
Crafter.Debug.Cli-Client.cpp fix(cli): print lldb by its path, and report a held app as held 2026-11-01 03:21:41 +01:00
Crafter.Debug.Cli-Quic.cpp feat(cli): reach instances over QUIC 2026-11-01 03:07:09 +01:00
Crafter.Debug.Core-Codec.cpp feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
Crafter.Debug.Core-Discovery.cpp feat(discovery): find live instances across sandboxes; build info 2026-11-01 01:56:31 +01:00
Crafter.Debug.Core-Protocol.cpp feat(session): serve requests without blocking a thread, pause and step 2026-11-01 01:53:15 +01:00
Crafter.Debug.Core-Value.cpp feat(core): Value, reflection, codecs and results, shared by app and client 2026-11-01 01:31:58 +01:00
main.cpp fix(cli): print lldb by its path, and report a held app as held 2026-11-01 03:21:41 +01:00