Inside the toolkit
One sustained investigation.
Run control, inspection, and supported acquisition share the native probe connection. bkpt capabilities lists implemented operations and build limits; target discovery and session reports describe hardware support.
Capability discovery
Enumerate ST-LINK, J-Link, and FTDI JTAG adapters. ST-LINK scans discover cores and CoreSight components; J-Link uses its configured device and one SDK-selected core. RISC-V sessions identify the hart and report the supported debug, memory, and trace capabilities.
Debugger control and inspection
Attach or launch, continue, pause, step, or run to a location. Use conditional breakpoints, supported hardware watchpoints, registers, backtraces, locals, expressions, memory, and disassembly with opcodes.
Firmware and source identity
Compare sampled ELF load bytes with the target before trusting symbols. Reload symbols after a rebuild without dropping the session, and preserve frozen source identity with trace recordings. Sampled checks are not full-image verification.
Execution history you can revisit
Capture Arm ETMv4 history through supported ETF or ETR storage, or RISC-V N-Trace through an on-chip trace buffer. Capture at selected stops, decode in the background, and query retained recordings after the session closes. Each route requires compatible trace hardware and a matching ELF.
Multicore and multiple images
On supported ST-LINK targets, control cores independently or as a group, inspect each outcome, and detach one core while preserving its peers. Load multiple images on a core, qualify symbols by image, and inspect accessible TrustZone security state and register banks.
Live state and Trace Domains
Sample symbols, memory, and supported SVD registers over the shared connection. Domain descriptors decode inputs into values and findings, with explicit reasons when an input is unavailable. SVD sampling respects read-action metadata.
Saved contexts and offline analysis
Inspect a supplied saved register context and its backtrace. Query ELF symbols, sections, and memory use without a target; use a linker map for region capacities. Automatic RTOS task discovery is not yet available.
Explicit writes and recovery
Write memory, variables, or registers through explicit operations and inspect the readback. Reconnect and verify, then explicitly restore preserved breakpoints, watchpoints, and fault catch. Run or halt policies on close report whether cleanup was confirmed.
An interface agents can discover
Use bkpt describe for operation arguments, result schemas, effects, and bounds. JSON replies and asynchronous events identify relevant session, core, and source context; acquisition reports include provenance and loss information.
The engine behind BKPT Debug
BKPT Debug uses Toolkit for its debugging workflow. Drive the same engine from a terminal, ordered script, or persistent JSONL process, with native probe and analysis tools included. Use the GDB and binutils toolchain for your target architecture; FTDI adapters also need the D2XX driver.
Toolkit is in development. It does not program flash or call target functions. Acquisition combinations depend on hardware resources and the current session; inspect the capability and activity reports for the exact build.