Hi,
FYI, the proposal below has been implemented and
pushed to master. You are welcomed to
try it and give feedback.
Note that the solution went a bit further than the
proposal, where the Expressions view
not only supports glob-patterns but also
comma-separated lists of expressions e.g., $eax, myvar,
$$s*
See the New&Noteworthy for the short
description:
BR,
Marc
Hello,
I would like
to propose an enhancement to the Expressions view
for CDT
Debug. We are focusing on the
Juno release
right now, but since we discussed the idea
in the CDT
monthly call, I'm sending this proposal
now.
==
Currently, the
Registers view for CDT/GDB shows all registers in a flat list.
For targets with a large number of
registers
this is not
very user-friendly.
I propose to
support pattern-matching within the Expressions view to allow users to
easily create groups of
registers. For
example:
$* would display all
registers
$st[0-5] would show $st0, $st1 , ... $st5
The user would simply type the _expression_ in
the "Add new _expression_" box as she would
for
any other
_expression_.
Although
this feature is focusing
on registers (only
_expression_s
starting with $ will allow patterns)
it may be a
nice enhancement to extend this to other expressions. If
that was also supported, a user
could do such
things as create an _expression_ 'myArray[20-120] to only show a subset
of an array; many
other examples
can be imagined as well.
With such possibilities in mind,
the prototype does allow for the
_expression_: * which will
automatically
show all
local variables and arguments of
the selected stack frame.
Comments and
suggestions are very welcomed.
Thanks
Marc
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev