manpagez: man pages & more
info bdb
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7 Using BDB under Emacs

A special interface allows you to use Emacs to view (and edit) the source files for the program you are debugging with BDB.

To use this interface, use the command M-x bdb in Emacs or click the Bdb icon of the Bee tool bar Give the executable file you want to debug as an argument. This command starts BDB as a subprocess of Emacs, with input and output through a newly created Emacs buffer.

Breakpoints may be set by the means of mouse clicks. Once a buffer is connected to the debugger (connection is automatic when the execution thread stops inside a buffer, or connection may be explicitly requested with the Connect icon), a left margin is printed. Clicking <button-3> on the margin will pop up a menu that enables breakpoint settings.

Breakpoints may be disabled or deleted by the means of mouse menu. Click <button-2> on a breakpoint icon.

The M-x bdb provides facilities for displaying all kinds of information such as stack frames, automatic display, source code browsing, stepping, etc.


This document was generated on March 31, 2014 using texi2html 5.0.

© manpagez.com 2000-2017
Individual documents may contain additional copyright information.