[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Cannot add Global variables in DSF debug session
|
> I was telling the customers too to use expression view too,
> but apparently it is not this useful.
> I was debbuging C code myself and switching between
> expressions and variable is painful.
Yes, that would be annoying.
> If I have both of them open it is overhead on debugger that
> would re-evaluate all expression.
Not sure I understand what you mean.
In this case, the expression view would show the globals
(as chosen by the user) while the variables view would show
the locals.
And if you have duplicate between views, the caching will
keep things efficient.
But you loose space.
> Plus this two views have different set of action. Some stuff
> you cannot do with expressions view, such as change value,
> cast and change format...
With DSF, the expressions view allows to change value and cast
from the expressions view. In fact we don't have casting
in the variables view (yet? :-)). As for the format, there
is a details pane that shows all formats.
> Would be nice if you same UI/model for CDI and DSF and allow
> user to add customer global vars, because current way of
> doing it in CDI missing some and cannot get
> globals from shared libraries for example...
But still, for space saving, and to get a list of globals
automatically, it probably would be nice to support global
variables in DSF-GDB too. But it would require a bit of effort.
Marc
>
>
> Marc Khouzam wrote:
> >
> > Hi,
> >
> >> Hi All
> >> While debugging an application using GDB DSF CreateProcess
> >> Launcher I noticed that "add global variables" action in
> >> variables view is disabled .
> >
> > DSF-GDB does not support displaying global variables in the
> > variables view (yet?). See
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040
> >
> > You can use the expressions view to show the global variables
> > you are interested in.
> >
> > Marc
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>