Lines Matching full:debug
1 .. _west-build-flash-debug:
8 ``build``, ``flash``, ``debug``, ``debugserver`` and ``attach``.
11 commands, see :ref:`flash-and-debug-support` in the board porting guide.
412 tool, such as ``flash`` and ``debug``.
469 ``BOARD_FLASH_RUNNER`` CMake variable, and the debug runner with
550 Debugging: ``west debug``, ``west debugserver``
555 Run ``west debug -h`` or ``west debugserver -h`` for additional help.
561 open up a debug console (e.g. a GDB session)::
563 west debug
570 Without options, the behavior is the same as ``ninja debug`` and
571 ``ninja debugserver`` (or ``make debug``, etc.).
575 west debug --build-dir path/to/build/directory
581 debug`` searches there instead of :file:`build`.
592 west debug --runner jlink
597 be obtained with ``west debug -H``; if run from a build directory or
611 other debug configuration at default values::
613 west debug --elf-file path/to/some/other.elf
616 The ``west debug -h`` output includes a complete list of overrides
624 ports used by debug servers.
630 west debug --context
639 When running West outside of a build directory, ``west debug -H`` just
640 prints a list of runners. You can use ``west debug -H -r
646 west debug -H -r jlink
653 ``west debug`` can only debug a single domain at a time. When a
654 :ref:`west-multi-domain-builds` folder is detected, ``west debug``
655 will debug the ``default`` domain specified by sysbuild.
667 So to debug ``hello_world`` you can do::
669 west debug
673 west debug --domain hello_world
675 If you wish to debug MCUboot, you must explicitly specify MCUboot as the domain
676 to debug::
678 west debug --domain mcuboot
682 Flash and debug runners
685 The flash and debug commands use Python wrappers around various
686 :ref:`flash-debug-host-tools`. These wrappers are all defined in a Python
688 called a *runner*. Runners can flash and/or debug Zephyr programs.
701 flash and debug commands. This is the core abstraction used to implement
709 Developers can add support for new ways to flash and debug Zephyr programs by
729 If you prefer not to use West to flash or debug your board, simply