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 573678 - Write support for GDB Variable objects
Write support for GDB Variable objects
Status: RESOLVED FIXED
Product: nemiver
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Nemiver maintainers
Nemiver maintainers
Depends on:
Blocks: 386450 386594 515168 530902 542503 563102 581169
 
 
Reported: 2009-03-01 21:26 UTC by Dodji Seketeli
Modified: 2009-05-26 18:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dodji Seketeli 2009-03-01 21:26:20 UTC
GDB Variables object is a way for GDB to let client applications query variables and inspect their states. Nemiver doesn't support that yet.

This has to change.
Comment 1 Dodji Seketeli 2009-04-12 15:56:02 UTC
Work is happening for this feature in the varobjs-support branch of the Nemiver repository.

You can inspect the code at http://git.gnome.org/cgit/nemiver/?h=varobjs-support .

At the moment, the backend support of the varobjs is more or less working.

I have ported the VarInspector type over the varobjs support. Now when you inspect a given variable in Nemiver (when you hit the F12 key) the variable inspector dialog uses variable objects.

I am currently porting the LocalVarsInspector type to variable objects as well. That is, the "Variables" tab at the bottom of the Nemiver screen. That should soon be in a more-or-less-working state as well.

More on this later.
Comment 2 Dodji Seketeli 2009-04-12 21:13:02 UTC
Okay, I have pushed a set of patches to the varobjs-support branch that basically adds varobjs support to the local variables inspector widget. So now variable inspector and local variables inspector both support varobjs.

To try it, you have to configure that branch with --with-varobjs.

I will be testing/debugging/ that branch for a little while I guess.
Comment 3 Dodji Seketeli 2009-05-03 11:58:38 UTC
So the varobjs-support branch seems quite usable for me. I have been using it daily for 2 weeks, ironing it out etc, and it seems to perform better than what we had previously. I have even added variable value editing on top of it.

Now that Nemiver 0.6.7 is released, I think the varobjs-support branch is going to be merged in master soon.
Comment 4 Dodji Seketeli 2009-05-26 18:50:46 UTC
I the varobjs-branch has been merged into master.

So what do we get in now ?

The VarInspector widget, LocalVarsInspector and VarInspectorDialog are all varobjs powered now. As a bonus point, we can now edit the value of a variable and set hardware watchpoint on some variable expressions.

This should fix a couple of bugs as well.

I guess What remains is to port the variable tooltip over varobjs as well.

I think I can now close this bug.