[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-patch] Reloaded: Displaying thread names in debug view
|
Stefan,
There is a proposal to add an extension point to the mi core plugin to allow
the replacement of the "standard" command factory. The current
implementation of "info shared" is another example on this issue. Regarding
this patch, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=115804 for
more information.
Ideas and suggestions are very welcome.
Thanks,
Mikhail
----- Original Message -----
From: "Stefan Bylund" <steby@xxxxxxx>
To: "CDT patches and commits are posted to this list."
<cdt-patch@xxxxxxxxxxx>
Sent: Friday, December 09, 2005 9:34 AM
Subject: Re: [cdt-patch] Reloaded: Displaying thread names in debug view
Hi Norbert,
I was the one who added the support for optionally displaying thread
names in the CDT debug view. This feature was added in the patch
http://dev.eclipse.org/mhonarc/lists/cdt-patch/msg02506.html and
described in the corresponding bug report
https://bugs.eclipse.org/bugs/show_bug.cgi?id=69711.
This patch was initiated by a discussion of this issue found here:
http://dev.eclipse.org/mhonarc/lists/cdt-debug-dev/msg00462.html
The conclusion was that there is no reliable way to retrieve thread
names and other thread metadata from the output of the "info threads"
command in a platform-independent manner. Instead, we choose to only
provide the foundation for a third party to do this.
Your patch seems to assume that thread names from the output of "info
threads" are in the form "Name: <name>", which is not true on all
platforms.
Until there is an MI-version of the "info threads" command that reports
thread metadata in a strict form, I think that we should leave parsing
thread names to third party extensions using the foundation provided by
the patch 69711.
Regards,
/Stefan
Ploett, Norbert wrote:
Hi folks,
this is picking up an enhancement suggestion and short discussion (see
cdt-dev of 2005-08-08) about the display of thread names in the debug
view. I have now created and enhancement request
https://bugs.eclipse.org/bugs/show_bug.cgi?id=115804 and the required
patch is attached to the request and this message.
Thanks for comments / approval.
Norbert Ploett
-----------------------------------------------------------------------
-
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-patch
_______________________________________________
cdt-patch mailing list
cdt-patch@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-patch