Opened 10 years ago

Last modified 10 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:
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 by anevilyak, 10 years ago

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 by jua, 10 years ago

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

comment:3 by axeld, 10 years ago

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

in reply to:  3 comment:4 by bonefish, 10 years ago

Replying to axeld:

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

+1

comment:5 by anevilyak, 10 years ago

Status: newin-progress

comment:6 by anevilyak, 10 years ago

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 by luroh, 10 years ago

Milestone: R1Unscheduled

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

Note: See TracTickets for help on using tickets.