[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Swap GUD fringe/margin mouse-2 and mouse-3 bindings
From: |
Nick Roberts |
Subject: |
Re: Swap GUD fringe/margin mouse-2 and mouse-3 bindings |
Date: |
Mon, 29 May 2006 23:27:21 +1200 |
> BTW, besides the [p] button and gud-tooptips, is there some easy way to
> look at the value of the expression under the mouse?
I'm not sure what you're looking for but:
1) Gud-tooltips use tooltip-identifier-from-point which extracts the most
basic part of a variable name at point e.g. a.
2) Gud-print uses gud-find-c-expr (for C) for this purpose which knows
something about C syntax e.g a->b. You can also select a region with the
mouse for printing an expression e.g a + 4*b (this a recent feature).
3) Watch expressions allow you to explore structures and arrays in the
speedbar, and watch variable values change during execution. Again this
uses gud-find-c-expr and expressions can be selected with the mouse.
--
Nick http://www.inet.net.nz/~nickrob