[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21438: 25.0.50; GUD locals frame/window doesn't shows struct values
From: |
Tassilo Horn |
Subject: |
bug#21438: 25.0.50; GUD locals frame/window doesn't shows struct values as nil |
Date: |
Wed, 09 Sep 2015 17:10:10 +0200 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> I guess the usage of --simple-values is intentional, and in fact, when
>> trying to use "--all-values" instead I get a
>>
>> error in process filter: gdb-jsonify-buffer: Stack overflow in regexp
>> matcher
>
> Yes, the use of --simple-values is intentional. If you want to see
> the values of the fields, you need to click mouse-2 on the variable
> name, and then Emacs will pop up a frame with the fields.
Yes, or I can watch the variable and get a nice speedbar tree view which
I can expand recursively. Really nice!
>> I'm not actually sure if it would be benefitical to use --all-values
>> even if that regexp matching error was fixed because the structs can be
>> really large. But at least the value should not be shown as "nil" but
>> as "<non-simple value>" or something else which makes it obvious that
>> the displayed value is not the real value.
>
> Like the patch below? If you think it's OK, I will push it.
Yes, that's exactly what I had in mind.
Bye,
Tassilo