is this in gdb's debug mode ,which is used to get the debugged process's local varible value?
At 2012-10-10 17:16:06,"Tassilo Horn" <tsdh@gnu.org> wrote:
>Francesco Mazzoli <f@mazzo.li> writes:
>
>> At Wed, 10 Oct 2012 00:24:35 -0700 (PDT),
>> drain wrote:
>>> Is there a function that prompts the user in the mini-buffer, matches the
>>> string input with a local variable name, and then returns the variable?
>>
>> You can use something like
>>
>> (defun foo (var)
>> (interactive "v")
>> (message "%S" (symbol-value var)))
>>
>> See the help page for `interactive' for more info.
>
>Or simply do `C-h v <variable-name> RET' which shows the documentation
>and the current value of that variable.
>
>Bye,
>Tassilo
>
>