SLeeLa Debugger — Native Backend Completion Plan
Version: 0.6.0
Common contract
Every native backend must expose truthful capabilities for:
- launch and attach
- continue/pause
- step in/over/out
- software and hardware breakpoints
- watchpoints
- threads
- stack frames
- registers
- memory
- exceptions/signals
- modules
- symbols
- source mapping
- process lifecycle
Unsupported operations must fail explicitly.
Linux / ptrace
Current foundation: launch, attach, resume, single-step, wait/poll.
Remaining native layers:
- Breakpoint insertion/removal.
- Hardware debug registers and watchpoints.
- Register read/write.
- Memory read/write.
- Thread and clone tracking.
- Signal and ptrace-event handling.
- Fork/exec/module tracking.
- Stack unwinding.
- ELF/DWARF symbol integration.
- Address-to-source mapping.
- Robust stop/exit classification.
macOS / LLDB
Current state: adapter boundary.
Required integration:
- LLDB session/process lifecycle.
- Launch and attach.
- Continue and stepping.
- Breakpoints/watchpoints.
- Threads and frames.
- Registers and memory.
- Exceptions/signals.
- Modules and symbols.
- Source mapping.
- Capability-aware error translation.
Windows / Debug API
Current state: adapter boundary.
Required integration:
- Debug process creation/attachment.
- WaitForDebugEvent loop.
- ContinueDebugEvent.
- Thread/process lifecycle.
- CONTEXT register access.
- Memory access.
- Software/hardware breakpoints.
- Exception handling.
- DLL/module events.
- PDB/symbol/source mapping.
Native integration test policy
Each platform requires deterministic integration fixtures. An unavailable OS facility is a skip/unavailable result, not a pass for native behavior.