Seer: GDB with a graphical interface

Summary

Ernie Pasveer develops Seer as a Qt interface that makes GDB functions visually accessible while keeping them directly controllable. Seer requires Linux, GDB with the MI interpreter and Qt 6.

Ideas

  • Seer communicates with the actual debugger via GDB's machine interface.
  • Source code, variables, registers and stack frames appear in coordinated views.
  • Trackers update selected variables at every breakpoint.
  • Breakpoints, watchpoints, catchpoints and printpoints each get their own management.
  • Manual GDB commands remain available alongside the graphical functions.

Insights

  • An interface can make complexity visible without replacing the proven backend.
  • Visual changes of state support debugging more than static individual values.
  • Good frontends allow gradual switching between convenience and full control.

Facts

  • The interface supports GDB's reverse debugging mode.
  • Memory, array, structure and image visualisers interpret program data graphically.

Recommendations

  • Compile test programs with debug symbols and as little optimisation as possible.
  • Keep using the GDB console for functions not represented graphically.

References

Read the original article

Search the Web Archive

Found a mistake or have something to add? Get in touch.