[
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
|
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.
If I use expression view I put not only globals there but some other expressions too,
anyways this one if not that important.
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.
That's nice.
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.
Details pane show all formats? Like dec and hex at the same time?
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.
That is what I meant, DFS should supports it too and re-use same UI code except global vars provider for this dialog.
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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev