Opened 4 years ago

Last modified 4 years ago

#11387 assigned enhancement

Expressions in variables view

Reported by: bonefish Owned by: anevilyak
Priority: normal Milestone: Unscheduled
Component: Applications/Debugger Version: R1/Development
Keywords: Cc:
Blocked By: #9712, #11425, #11426 Blocking:
Has a Patch: no Platform: All

Description

It would be nice, if the user could add expressions to the variables view. Such an expression would be associated with the function (additionally there could be global expressions) and be updated while stepping through the function as well as when hitting a breakpoint in the function.

Change History (7)

comment:1 Changed 4 years ago by anevilyak

Where I'm somewhat torn on this one is how to present that functionality in the user interface. The most straightforward option would seem to be allowing one to right click in an empty part of the view to add an expression via the context menu, but that would grow problematic with large numbers of variables, since one then might no longer have an empty row to click in.

Another option would be to add a dedicated tab for expressions as we do registers, but then one wouldn't be able to see the variables and expressions at the same time, which would be desirable if that expression is contingent on such a variable. I suppose one could conceivably add menu items for it to the top level menu, but that wouldn't be very discoverable...any thoughts?

comment:2 Changed 4 years ago by jua

Maybe make it like the list views in Icon-O-Matic, i.e. a little menu bar above the list view itself?

comment:3 Changed 4 years ago by axeld

I would just add it (after a separator) to the context menu of all items.

comment:4 in reply to:  3 Changed 4 years ago by bonefish

Replying to axeld:

I would just add it (after a separator) to the context menu of all items.

+1

comment:5 Changed 4 years ago by anevilyak

Status: newin-progress

comment:6 Changed 4 years ago by anevilyak

Blocked By: 11425, 11426 added
Status: in-progressassigned

The first part of this request (function-associated expressions) has been implemented in hrev48254. However, global expressions will need to wait until we have the necessarily support to resolve global variables at all, as without those, such expressions wouldn't be terribly useful.

comment:7 Changed 4 years ago by luroh

Milestone: R1Unscheduled

Moving Debugger related tickets out of R1 milestone (Prop #14).

Note: See TracTickets for help on using tickets.