[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Mac debug needs attention (patches are available!)
|
The following is an update from Marc-Andre Laperle on the state of
Patches for OS X Debugging in CDT. Hopefully this will spur some
discussion on the conference call on 2 Feb, 2010.
----8<-----------------------------------------------------
From: Marc-Andre Laperle
Date: 1 Feb 2010
DSF-GDB is in a pretty good shape. Patches for "GDB can't halt
debugging process" and "Debug value view fails to update 'Value'
column" are committed thanks to Marc Khouzam.
The only major issue I see is the threading problem (Bug 269838).
Newly created threads don't show up as you debug, it will only show
the ones that are already created when the program suspends for the
first time, unless you hit refresh (but the button might be removed
soon, see Bug 299834). I still need to look deeper into this but I'd
appreciate some pointers from Marc or someone with DSF-GDB knowledge.
CDI is not getting a lot of attention, as expected. I don't think we
should insist since it's pretty much dead. Still, a fully patched CDI
works better than DSF on Mac OS, at least, from what I tested so this
is what I use. Here's what works in a fully patched CDI versus DSF-GDB :
- Properly display threads without refreshing (Bug 269838)
- Debug in a path containing a space (bug 263689). To be fair, it
probably doesn't work with DSF-GDB on any platform. It would also be
hard to do a Mac OS-specific patch in DSF-GDB.
- Inserting a breakpoint while GDB is running. This is also not
supported in DSF-GDB on any platform, see bug 242943.
To summarize, the DSF patches are getting committed and this is great.
If someone has some time to point me in the right direction for the
threading problem that would be great too. On the other hand, CDI
could work better because is already has patches for pretty much all
the issues, it would be the best short term solution if someone was
willing to spend some time reviewing and committing the patches. At
this point, I don't mind if CDI stays unpatched, as long as we can
find a solution for the threading bug in DSF-GDB.
----8<-----------------------------------------------------
I would also add that using the patch from bug 294538 seems to work
just fine on CDT 6.x branch with Eclipse 3.5.1.
--
Mike J.
On Jan 14, 2010, at 10:24 AM, Michael Jackson wrote:
For those not following along on each bug report I thought I would
run through the bugs and update the list on the progress that has
been made:
#-----------------------------------------
"Debug value view fails to update 'Value' column (250037), also
fixes the same bug in DSF"
A fix has been committed to both the 6.0 and CVS HEAD branches
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=250037>
#-----------------------------------------
[Mac] Debug launch takes 20 extra sec (CLI problem) (294538)
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=294538>
Patch has been updated on the bug report, but NOT committed to
either CVS branch.
#----------------------------------------
[Mac] Registers view very slow to open the first time (294537)
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=294537>
Patch attached to bug report but NOT committed to either CVS branch.
#----------------------------------------
GDB can't halt debugging process (265483)
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=265483>
Patches for both CDI and DSF attached to Patch but NOT committed to
either branch.
#----------------------------------------
DT gdb/mi fails to parse result of gdb cmd "thread info" (269838)
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=269838>
Patch attached to bug report but NOT committed to either CVS branch.
I am not on any type of "Commit Mailing List" so if Patches have
been applied to CVS but the bug reports not updated I do not have
that information.
I have tried out the CVS HEAD a few times lately but still not
"ready for prime time", at least in my usage. I'll keep trying
periodically and provide what feedback I can. Thanks to those who
are taking time out of their busy schedules to review/test/patch/
commit code for us OS X developers.
_________________________________________________________
Mike Jackson mike.jackson@xxxxxxxxxxxxxx
On Jan 4, 2010, at 1:31 PM, Marc-Andre Laperle wrote:
Hello all,
As you might know, debugging on Mac is not in a very good state. It
has been said that the community would need to fix these issues
since the majority a committers don't have a Mac. So, I made
patches for the following bugs:
- Debug value view fails to update 'Value' column (250037), also
fixes the same bug in DSF
- [Mac] Debug launch takes 20 extra sec (CLI problem) (294538)
- [Mac] Registers view very slow to open the first time (294537)
- GDB can't halt debugging process (265483)
- CDT gdb/mi fails to parse result of gdb cmd "thread info" (269838)
It would be great if someone could take a look at these patches and
at least give some feedback. I won't be available tomorrow for the
CDT Monthly Call so if someone can bring it up, I would be grateful.
Thanks!
Marc-Andre
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev