thoni56
thoni56

Reputation: 3335

Can Emacs GDB-mode display expressions in separate window

In windowed mode GDB displays watched expressions in the speedbar. In console mode there is no speedbar.

Is there a way to get gdb to display watched expressions in a separate window? That might come in handy, windowed or not.

Upvotes: 1

Views: 380

Answers (1)

Tobias
Tobias

Reputation: 5198

There is a speedbar in console mode. The name string of the buffer is " SPEEDBAR" (Mind the gap!). You get this buffer with C-x b. To get it fixed in gdb-many-windows you need window-dedicated-toggle.

The speedbar is actually just another frame showing the " SPEEDBAR" buffer.

There is even a page almost completely dedicated to the speedbar in a single frame setup:

http://www.emacswiki.org/emacs/SpeedBar

The existing speedbar also solves your problem of displaying the watch-expressions in gdb-many-windows.

Upvotes: 1

Related Questions