all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* GUD locals in speedbar.
@ 2009-01-22  1:35 faraz ahmed
  2009-01-22  6:46 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: faraz ahmed @ 2009-01-22  1:35 UTC (permalink / raw)
  To: help-gnu-emacs

How can I configure emacs to display _locals_ in the speedbar (like
gud-watch). Also if possible - can the speedbar then do a automatic
refresh as frames change.

-Faraz


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GUD locals in speedbar.
  2009-01-22  1:35 GUD locals in speedbar faraz ahmed
@ 2009-01-22  6:46 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2009-01-22  6:46 UTC (permalink / raw)
  To: faraz ahmed; +Cc: help-gnu-emacs

faraz ahmed writes:
 > How can I configure emacs to display _locals_ in the speedbar (like
 > gud-watch). Also if possible - can the speedbar then do a automatic
 > refresh as frames change.

You can make locals appear as watch expressions in the speedbar by clicking
on them in with mouse-2 in the locals buffer (when they are not simple
data types).  However, you can't automatically put all locals in the speedbar
and they won't refresh with a frame change.

Watch expressions in the speedbar use a feature of GDB called variable objects
(which is part of GDB/MI) and this could be used for locals.  Indeed Apple do
this in their version of GDB and the Insight debugger has this functionality
but I have no plans to submit such changes for FSF GDB.  Emacs uses the MI
command which is more lightweight but faster.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-22  6:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22  1:35 GUD locals in speedbar faraz ahmed
2009-01-22  6:46 ` Nick Roberts

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.