This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Debugger Command Line

Problem

We need the ability to interact with the debugger from a command-line environment for when Builder's UI fails to provide a necessary feature. gdb provides interaction APIs via the wire-protocol which can be used for this.

Goals

  1. Add a command-line shell into the debugger (such as gdb)
  2. Add support for Gdb to send/receive input/output from the gdb process on behalf of the user

Anti-Goals

  1. Auto-completion would be nice, but out of scope at this time.

Affected Modules

  1. libide-debugger
  2. debuggerui plugin (src/plugins/debuggerui)
  3. gdb plugin (src/plugins/gdb)

Interfaces

  1. We need to extend IdeDebugger to execute commands on behalf of the user. A branch exists for this for gdb already.

Risks

Implementation Details


2024-10-23 10:58