emdbg.debug

Debug Tools

This module manages the configuration and lifetime of debuggers and debug probes. In particular, it orchestrates the setup of debug probes and GDB and provides scripting access to the GBD Python API and extends it with custom commands.

Several debug probes are supported:

The debug probes have been tested with the JLink EDU mini, JLink BASE compact, and STLinkv3-MINIE.

 1# Copyright (c) 2023, Auterion AG
 2# SPDX-License-Identifier: BSD-3-Clause
 3
 4"""
 5# Debug Tools
 6
 7This module manages the configuration and lifetime of debuggers and debug probes.
 8In particular, it orchestrates the setup of debug probes and GDB and provides
 9scripting access to the GBD Python API and extends it with custom commands.
10
11Several debug probes are supported:
12
13- JLink via `emdbg.debug.jlink`.
14- OpenOCD via `emdbg.debug.openocd`.
15- CrashDebug via `emdbg.debug.crashdebug`.
16
17The debug probes have been tested with the JLink EDU mini, JLink BASE compact,
18and STLinkv3-MINIE.
19"""
20
21from . import jlink
22from . import openocd
23from . import gdb
24from . import px4
25
26from .backend import ProbeBackend
27from .crashdebug import CrashProbeBackend
28from .jlink import JLinkBackend
29from .openocd import OpenOcdBackend