After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 530902 - Make dereferencing structures more intuitive
Make dereferencing structures more intuitive
Status: RESOLVED FIXED
Product: nemiver
Classification: Other
Component: general
0.5.x
Other All
: Normal enhancement
: ---
Assigned To: Nemiver maintainers
Nemiver maintainers
Depends on: 573678
Blocks:
 
 
Reported: 2008-05-01 16:07 UTC by Julien Lecomte
Modified: 2009-05-31 08:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Julien Lecomte 2008-05-01 16:07:04 UTC
Please describe the problem:
Most debuggers allow for structures to be expanded in a tree-view style fashion, showing their members name and value.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Dodji Seketeli 2008-05-01 16:17:06 UTC
First of all, which version of nemiver are you using ?

Sorry, but in the 0.5.2 version, the local variables inspector at the bottom pane of nemiver already allows you to do that. It shows you the local variables, and when one of those variables is a structure, you can expand it and inspect its members.
Are you trying to look at a structure variable or at a pointer to a structure variable ?

I am really talking about a structure variable.
Comment 2 Julien Lecomte 2008-05-01 16:25:58 UTC
I am using version 0.5.2 and am trying to look at a pointer to a structure variable. KDbg for example lets me look at the members of the corresponding structure.
Comment 3 Dodji Seketeli 2008-05-01 16:32:14 UTC
Pointers to structure variable are different from structure variables. So the title of the bug appears to be a little bit misleading to me.

For pointer to variables though, you have to dereference them to be able to inspect the content the point to. Just right click on them an hit "dereference variable". The pointed variable appears in the list of variables to dereference.

The reason why this has been done this way is due to the complexity involved to get this right. For instance, if you have a variable Foo ***bar; and you woul like to inspect ***bar, the current scheme allows you to do so, by recursively dereferencing the variable ...

But I agree that we should make this somewhat more intuitive.

I hope this helps.
Comment 4 Julien Lecomte 2008-05-01 16:35:24 UTC
Fair enough. Marking as an enhancement.
Comment 5 Dodji Seketeli 2008-05-01 16:36:30 UTC
Thank you for you understanding.
Comment 6 Dodji Seketeli 2009-05-31 08:55:21 UTC
This should be fixed in master, Nemiver 0.7.
Thanks.