Discussion:
Fixing some Debug feature-parity bugs
Marc Khouzam
2010-02-05 19:13:21 UTC
Permalink
Hi,

recent email discussions about the CDT's default debugger integration
has led to the fact that it would be nice to switch the default to
DSF-GDB for Helios, but that we need to get closer to feature-parity
with CDI-GDB.

We also agree that new debugging features are not going to be
done for CDI, so I think we need to start building momentum for DSF-GDB
so as to get more contributions and get the whole CDT debugging to continue
getting more new features. This will also benefit any DSF-based integration
as DSF will be given more attention.

So, let's take the bull by the horns and get some feature-parity bugs fixed.
The bugzilla list of 29 bugs is shown below, taken from http://bit.ly/avphMO

If we want to actually see some progress, we need people to reply to this mail
an agree to take care of some bugs, even if only a single one to start.

I'll get the ball rolling by committing to fix the following 7 bugs myself:

http://bugs.eclipse.org/242943 [breakpoints] [cdi] While GDB is running, we cannot make breakpoint commands
http://bugs.eclipse.org/248610 [menu][memory][cdi] Add a menu action to open memory view for a given variable.
http://bugs.eclipse.org/249162 [run control][cdi] Add support for "Set PC to here" operation.
http://bugs.eclipse.org/249165 [run control][cdi] Add support for "Resume at Line" action
http://bugs.eclipse.org/249169 [detail][cdi] Add support for alternative expression evaluation in detail pane.
http://bugs.eclipse.org/219203 [variables][cdi] Variables view should allow variables to be cast to a type.
http://bugs.eclipse.org/202354 [launch][cdi] Support Environment tab in local launch

These as the other filled bugs about feature-parity that others should look at:

http://bugs.eclipse.org/248587 [breakpoints][cdi] Support "Event' Breakpoints.
http://bugs.eclipse.org/248606 [menu][breakpoints][cdi] Add support for toggling watchpoints in the variables and expressions views.
http://bugs.eclipse.org/248595 [breakpoints][cdi] - Add support pending breakpoints introduced in GDB 6.8.
http://bugs.eclipse.org/231883 [console][cdi] Inferior does not print to console when a PTY is not available
http://bugs.eclipse.org/159958 [symbols][cdi] Integrate symbols service with CDT modules view.
http://bugs.eclipse.org/235747 [registers][cdi] Allow user to edit the register groups.
http://bugs.eclipse.org/237560 [variables][cdi] Ehance variables view for feature parity with CDT.
http://bugs.eclipse.org/248593 [launch][cdi] Add a JTAG-specific launch.
http://bugs.eclipse.org/249220 [signals][cdi] Add support for the Signals view.
http://bugs.eclipse.org/249223 [signals][cdi] Add support for "Resume without signal" action.
http://bugs.eclipse.org/274951 [cdi] Add Watch action to C/C++ Editor
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to show full paths for the stack frame source location.

I believe the ones below are not show-stoppers and therefore lower priority, but not everyone may agree with this:

http://bugs.eclipse.org/264895 [console][cdi] Visible console should match debug selection
http://bugs.eclipse.org/207582 [variables][expressions][cdi] In views, chirldren of arrays should be grouped when more than 100
http://bugs.eclipse.org/219040 [variables][cdi] Variables view should show globals (or should it?)
http://bugs.eclipse.org/219202 [variables][cdi] Variables view should use icons to represent types.
http://bugs.eclipse.org/267209 [launch][cdi] Refresh project when launch process terminates
http://bugs.eclipse.org/269101 [variables][cdi] In no-columns mode, it's impossible to change the a variable's value.
http://bugs.eclipse.org/271795 [debug view] [cdi] Inferior should be visible, and shown terminated in post mortem launch
http://bugs.eclipse.org/293832 [variables][cdi] wrong display of variable values with GDB DSF
http://bugs.eclipse.org/300096 [expressions][run control][cdi] DSF is missing certain debug actions from editor's context menu
http://bugs.eclipse.org/269927 [console] [cdi] Allow to save console to a file

Who's up for the challenge?

Marc
John Cortell
2010-02-05 19:41:10 UTC
Permalink
Marc,

Grabbing the bull by the horns may be exactly what we need here.
You've thankfully taken the initiative to pull together the punch
list; now we just need people to dive in and help you tackle it. I've
gotten approval from management to commit some time to the cause.
I'll take the following four issues, and will begin after I'm done
with the DSF disassembly view work.

http://bugs.eclipse.org/248606 [menu][breakpoints][cdi] Add support
for toggling watchpoints in the variables and expressions views.
http://bugs.eclipse.org/248595 [breakpoints][cdi] - Add support
pending breakpoints introduced in GDB 6.8.
http://bugs.eclipse.org/249220 [signals][cdi] Add support for the Signals view.
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to
show full paths for the stack frame source location.

John
Post by Marc Khouzam
Hi,
recent email discussions about the CDT's default debugger integration
has led to the fact that it would be nice to switch the default to
DSF-GDB for Helios, but that we need to get closer to feature-parity
with CDI-GDB.
We also agree that new debugging features are not going to be
done for CDI, so I think we need to start building momentum for DSF-GDB
so as to get more contributions and get the whole CDT debugging to continue
getting more new features. This will also benefit any DSF-based integration
as DSF will be given more attention.
So, let's take the bull by the horns and get some feature-parity bugs fixed.
The bugzilla list of 29 bugs is shown below, taken from http://bit.ly/avphMO
If we want to actually see some progress, we need people to reply to this mail
an agree to take care of some bugs, even if only a single one to start.
http://bugs.eclipse.org/242943 [breakpoints] [cdi] While GDB is
running, we cannot make breakpoint commands
http://bugs.eclipse.org/248610 [menu][memory][cdi] Add a menu action
to open memory view for a given variable.
http://bugs.eclipse.org/249162 [run control][cdi] Add support for
"Set PC to here" operation.
http://bugs.eclipse.org/249165 [run control][cdi] Add support for
"Resume at Line" action
http://bugs.eclipse.org/249169 [detail][cdi] Add support for
alternative expression evaluation in detail pane.
http://bugs.eclipse.org/219203 [variables][cdi] Variables view
should allow variables to be cast to a type.
http://bugs.eclipse.org/202354 [launch][cdi] Support Environment tab
in local launch
These as the other filled bugs about feature-parity that others
http://bugs.eclipse.org/248587 [breakpoints][cdi] Support "Event' Breakpoints.
http://bugs.eclipse.org/248606 [menu][breakpoints][cdi] Add support
for toggling watchpoints in the variables and expressions views.
http://bugs.eclipse.org/248595 [breakpoints][cdi] - Add support
pending breakpoints introduced in GDB 6.8.
http://bugs.eclipse.org/231883 [console][cdi] Inferior does not
print to console when a PTY is not available
http://bugs.eclipse.org/159958 [symbols][cdi] Integrate symbols
service with CDT modules view.
http://bugs.eclipse.org/235747 [registers][cdi] Allow user to edit
the register groups.
http://bugs.eclipse.org/237560 [variables][cdi] Ehance variables
view for feature parity with CDT.
http://bugs.eclipse.org/248593 [launch][cdi] Add a JTAG-specific launch.
http://bugs.eclipse.org/249220 [signals][cdi] Add support for the
Signals view.
http://bugs.eclipse.org/249223 [signals][cdi] Add support for
"Resume without signal" action.
http://bugs.eclipse.org/274951 [cdi] Add Watch action to C/C++ Editor
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to
show full paths for the stack frame source location.
I believe the ones below are not show-stoppers and therefore lower
http://bugs.eclipse.org/264895 [console][cdi] Visible console should
match debug selection
http://bugs.eclipse.org/207582 [variables][expressions][cdi] In
views, chirldren of arrays should be grouped when more than 100
http://bugs.eclipse.org/219040 [variables][cdi] Variables view
should show globals (or should it?)
http://bugs.eclipse.org/219202 [variables][cdi] Variables view
should use icons to represent types.
http://bugs.eclipse.org/267209 [launch][cdi] Refresh project when
launch process terminates
http://bugs.eclipse.org/269101 [variables][cdi] In no-columns mode,
it's impossible to change the a variable's value.
http://bugs.eclipse.org/271795 [debug view] [cdi] Inferior should be
visible, and shown terminated in post mortem launch
http://bugs.eclipse.org/293832 [variables][cdi] wrong display of
variable values with GDB DSF
http://bugs.eclipse.org/300096 [expressions][run control][cdi] DSF
is missing certain debug actions from editor's context menu
http://bugs.eclipse.org/269927 [console] [cdi] Allow to save console to a file
Who's up for the challenge?
Marc
_______________________________________________
cdt-debug-dev mailing list
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
Pawel Piech
2010-02-05 22:25:37 UTC
Permalink
I've really enjoyed following this discussion and seeing the enthusiasm
around DSF and TCF out there. There is a few issues that I've been
meaning to get to ever since we introduced DSF. I'll do my best to get
them in for Helios:

http://bugs.eclipse.org/207582 [variables][expressions][cdi] In views, chirldren of arrays should be grouped when more than 100
http://bugs.eclipse.org/219040 [variables][cdi] Variables view should show globals (or should it?)
http://bugs.eclipse.org/269101 [variables][cdi] In no-columns mode, it's impossible to change the a variable's value.
http://bugs.eclipse.org/219203 [variables][cdi] Variables view should allow variables to be cast to a type.
http://bugs.eclipse.org/219202 [variables][cdi] Variables view should use icons to represent types.
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to show full paths for the stack frame source location.
http://bugs.eclipse.org/159958 [symbols][cdi] Integrate symbols service with CDT modules view.


Cheers,
Pawel
Post by Marc Khouzam
Hi,
recent email discussions about the CDT's default debugger integration
has led to the fact that it would be nice to switch the default to
DSF-GDB for Helios, but that we need to get closer to feature-parity
with CDI-GDB.
We also agree that new debugging features are not going to be
done for CDI, so I think we need to start building momentum for DSF-GDB
so as to get more contributions and get the whole CDT debugging to continue
getting more new features. This will also benefit any DSF-based integration
as DSF will be given more attention.
So, let's take the bull by the horns and get some feature-parity bugs fixed.
The bugzilla list of 29 bugs is shown below, taken from http://bit.ly/avphMO
If we want to actually see some progress, we need people to reply to this mail
an agree to take care of some bugs, even if only a single one to start.
http://bugs.eclipse.org/242943 [breakpoints] [cdi] While GDB is running, we cannot make breakpoint commands
http://bugs.eclipse.org/248610 [menu][memory][cdi] Add a menu action to open memory view for a given variable.
http://bugs.eclipse.org/249162 [run control][cdi] Add support for "Set PC to here" operation.
http://bugs.eclipse.org/249165 [run control][cdi] Add support for "Resume at Line" action
http://bugs.eclipse.org/249169 [detail][cdi] Add support for alternative expression evaluation in detail pane.
http://bugs.eclipse.org/219203 [variables][cdi] Variables view should allow variables to be cast to a type.
http://bugs.eclipse.org/202354 [launch][cdi] Support Environment tab in local launch
http://bugs.eclipse.org/248587 [breakpoints][cdi] Support "Event' Breakpoints.
http://bugs.eclipse.org/248606 [menu][breakpoints][cdi] Add support for toggling watchpoints in the variables and expressions views.
http://bugs.eclipse.org/248595 [breakpoints][cdi] - Add support pending breakpoints introduced in GDB 6.8.
http://bugs.eclipse.org/231883 [console][cdi] Inferior does not print to console when a PTY is not available
http://bugs.eclipse.org/159958 [symbols][cdi] Integrate symbols service with CDT modules view.
http://bugs.eclipse.org/235747 [registers][cdi] Allow user to edit the register groups.
http://bugs.eclipse.org/237560 [variables][cdi] Ehance variables view for feature parity with CDT.
http://bugs.eclipse.org/248593 [launch][cdi] Add a JTAG-specific launch.
http://bugs.eclipse.org/249220 [signals][cdi] Add support for the Signals view.
http://bugs.eclipse.org/249223 [signals][cdi] Add support for "Resume without signal" action.
http://bugs.eclipse.org/274951 [cdi] Add Watch action to C/C++ Editor
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to show full paths for the stack frame source location.
http://bugs.eclipse.org/264895 [console][cdi] Visible console should match debug selection
http://bugs.eclipse.org/207582 [variables][expressions][cdi] In views, chirldren of arrays should be grouped when more than 100
http://bugs.eclipse.org/219040 [variables][cdi] Variables view should show globals (or should it?)
http://bugs.eclipse.org/219202 [variables][cdi] Variables view should use icons to represent types.
http://bugs.eclipse.org/267209 [launch][cdi] Refresh project when launch process terminates
http://bugs.eclipse.org/269101 [variables][cdi] In no-columns mode, it's impossible to change the a variable's value.
http://bugs.eclipse.org/271795 [debug view] [cdi] Inferior should be visible, and shown terminated in post mortem launch
http://bugs.eclipse.org/293832 [variables][cdi] wrong display of variable values with GDB DSF
http://bugs.eclipse.org/300096 [expressions][run control][cdi] DSF is missing certain debug actions from editor's context menu
http://bugs.eclipse.org/269927 [console] [cdi] Allow to save console to a file
Who's up for the challenge?
Marc
_______________________________________________
cdt-debug-dev mailing list
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
Marc-Andre Laperle
2010-02-06 19:02:52 UTC
Permalink
Hi,

I'm still pretty new to DSF and DSF-GDB but I want to help so I'll pick
the what looks like the easier ones. I'll try to do:

http://bugs.eclipse.org/274951 [cdi] Add Watch action to C/C++ Editor
http://bugs.eclipse.org/269927 [console] [cdi] Allow to save console to
a file

I will also look at any bugs on Mac that might come up. Maybe we should
have a wiki page with who is trying to fix what? Also, is there any
documentation on DSF/DSF-GDB that could help me getting more familiar
with the framework?

Thanks!

Marc-Andre
Post by Pawel Piech
I've really enjoyed following this discussion and seeing the
enthusiasm around DSF and TCF out there. There is a few issues that
I've been meaning to get to ever since we introduced DSF. I'll do my
http://bugs.eclipse.org/207582 [variables][expressions][cdi] In views,
chirldren of arrays should be grouped when more than 100
http://bugs.eclipse.org/219040 [variables][cdi] Variables view should
show globals (or should it?)
http://bugs.eclipse.org/269101 [variables][cdi] In no-columns mode,
it's impossible to change the a variable's value.
http://bugs.eclipse.org/219203 [variables][cdi] Variables view should
allow variables to be cast to a type.
http://bugs.eclipse.org/219202 [variables][cdi] Variables view should
use icons to represent types.
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to
show full paths for the stack frame source location.
http://bugs.eclipse.org/159958 [symbols][cdi] Integrate symbols
service with CDT modules view.
Cheers,
Pawel
Post by Marc Khouzam
Hi,
recent email discussions about the CDT's default debugger integration
has led to the fact that it would be nice to switch the default to
DSF-GDB for Helios, but that we need to get closer to feature-parity
with CDI-GDB.
We also agree that new debugging features are not going to be
done for CDI, so I think we need to start building momentum for
DSF-GDB so as to get more contributions and get the whole CDT
debugging to continue getting more new features. This will also
benefit any DSF-based integration
as DSF will be given more attention.
So, let's take the bull by the horns and get some feature-parity bugs fixed.
The bugzilla list of 29 bugs is shown below, taken from
http://bit.ly/avphMO
If we want to actually see some progress, we need people to reply to this mail
an agree to take care of some bugs, even if only a single one to start.
http://bugs.eclipse.org/242943 [breakpoints] [cdi] While GDB is
running, we cannot make breakpoint commands
http://bugs.eclipse.org/248610 [menu][memory][cdi] Add a menu action
to open memory view for a given variable.
http://bugs.eclipse.org/249162 [run control][cdi] Add support for
"Set PC to here" operation.
http://bugs.eclipse.org/249165 [run control][cdi] Add support for "Resume at Line" action
http://bugs.eclipse.org/249169 [detail][cdi] Add support for
alternative expression evaluation in detail pane.
http://bugs.eclipse.org/219203 [variables][cdi] Variables view should
allow variables to be cast to a type.
http://bugs.eclipse.org/202354 [launch][cdi] Support Environment tab in local launch
http://bugs.eclipse.org/248587 [breakpoints][cdi] Support "Event' Breakpoints.
http://bugs.eclipse.org/248606 [menu][breakpoints][cdi] Add support
for toggling watchpoints in the variables and expressions views.
http://bugs.eclipse.org/248595 [breakpoints][cdi] - Add support
pending breakpoints introduced in GDB 6.8.
http://bugs.eclipse.org/231883 [console][cdi] Inferior does not print
to console when a PTY is not available
http://bugs.eclipse.org/159958 [symbols][cdi] Integrate symbols
service with CDT modules view.
http://bugs.eclipse.org/235747 [registers][cdi] Allow user to edit the register groups.
http://bugs.eclipse.org/237560 [variables][cdi] Ehance variables view
for feature parity with CDT.
http://bugs.eclipse.org/248593 [launch][cdi] Add a JTAG-specific launch.
http://bugs.eclipse.org/249220 [signals][cdi] Add support for the Signals view.
http://bugs.eclipse.org/249223 [signals][cdi] Add support for "Resume
without signal" action.
http://bugs.eclipse.org/274951 [cdi] Add Watch action to C/C++ Editor
http://bugs.eclipse.org/248627 [debug view] [cdi] Add an option to
show full paths for the stack frame source location.
I believe the ones below are not show-stoppers and therefore lower
http://bugs.eclipse.org/264895 [console][cdi] Visible console should
match debug selection
http://bugs.eclipse.org/207582 [variables][expressions][cdi] In
views, chirldren of arrays should be grouped when more than 100
http://bugs.eclipse.org/219040 [variables][cdi] Variables view should
show globals (or should it?)
http://bugs.eclipse.org/219202 [variables][cdi] Variables view should
use icons to represent types.
http://bugs.eclipse.org/267209 [launch][cdi] Refresh project when
launch process terminates
http://bugs.eclipse.org/269101 [variables][cdi] In no-columns mode,
it's impossible to change the a variable's value.
http://bugs.eclipse.org/271795 [debug view] [cdi] Inferior should be
visible, and shown terminated in post mortem launch
http://bugs.eclipse.org/293832 [variables][cdi] wrong display of
variable values with GDB DSF
http://bugs.eclipse.org/300096 [expressions][run control][cdi] DSF is
missing certain debug actions from editor's context menu
http://bugs.eclipse.org/269927 [console] [cdi] Allow to save console to a file
Who's up for the challenge?
Marc
_______________________________________________
cdt-debug-dev mailing list
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
_______________________________________________
cdt-debug-dev mailing list
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
Pawel Piech
2010-02-08 18:14:11 UTC
Permalink
Post by Marc-Andre Laperle
I will also look at any bugs on Mac that might come up. Maybe we
should have a wiki page with who is trying to fix what? Also, is there
any documentation on DSF/DSF-GDB that could help me getting more
familiar with the framework?
I've recently updated the DSF tutorial from EclipseCon 2008 and I've
been meaning to add it to the CDT documentation. I went ahead and added
it with bug 302175.

You should be able to look at it from CVS under
org.eclipse.cdt.docs.isv/guide/dsf/intro/dsf_programming_intro.html, or
get the nighly build tomorrow and search for DSF in the help page.

Cheers,
Pawel

John Dallaway
2010-02-06 13:10:04 UTC
Permalink
Hi Marc
Post by Marc Khouzam
We also agree that new debugging features are not going to be
done for CDI, so I think we need to start building momentum for DSF-GDB
so as to get more contributions and get the whole CDT debugging to continue
getting more new features. This will also benefit any DSF-based integration
as DSF will be given more attention.
So, let's take the bull by the horns and get some feature-parity bugs fixed.
The following bugs are show-stoppers for anyone wanting to switch from
CDI-GDB to DSF-GDB for multi-threaded debugging outside the context of
LWP-based threading:

http://bugs.eclipse.org/280607
[debug view][commands] CLIInfoThreadsInfo parsing tied to LWP

http://bugs.eclipse.org/280631
[debug view] Thread list in Debug view not updated with non-Linux target

It would be great to see the patches in these bug reports applied for
Helios. Can they be added to your punch list please? Perhaps someone
could add "[cdi]" to the summary field of these bug reports.

John Dallaway
Loading...