Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Diable Tread refresh in UI
Diable Tread refresh in UI [message #211884] Thu, 13 March 2008 18:36 Go to next message
Ryan Hidek is currently offline Ryan HidekFriend
Messages: 6
Registered: July 2009
Junior Member
My company has an application it needs to remotely debug using gdbserver
and Eclipse. Unfortunately, it has about 40 threads and takes an
exceedingly long time to step debug.
I'd like to modify the CDT plug-in to disable the constant thread status
updating (running/suspended, info threads, info sharedlibrary, etc) of all
the threads except the one being debugged.

Any ideas on where i need to make the modifications?
In the org.eclipse.cdt.debug.mi.core.cdi package?
Re: Diable Tread refresh in UI [message #211946 is a reply to message #211884] Fri, 14 March 2008 11:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subs._nospam_consertum.com

Ryan Hidek wrote:
> My company has an application it needs to remotely debug using gdbserver
> and Eclipse. Unfortunately, it has about 40 threads and takes an
> exceedingly long time to step debug. I'd like to modify the CDT plug-in
> to disable the constant thread status updating (running/suspended, info
> threads, info sharedlibrary, etc) of all the threads except the one
> being debugged.
> Any ideas on where i need to make the modifications?
> In the org.eclipse.cdt.debug.mi.core.cdi package?
>
I'd start by placing breakpoints in CommandFactory (this is where all
the MI commands a created). You can then see where the required calls
are comming from.

HTH

--
Derek
Re: Diable Tread refresh in UI [message #212036 is a reply to message #211884] Tue, 18 March 2008 14:57 Go to previous messageGo to next message
Ali Burak Kulakli is currently offline Ali Burak KulakliFriend
Messages: 116
Registered: July 2009
Senior Member
Hi,

I have a similar problem also. Any ideas what can I do as a user?

Burak

Ryan Hidek wrote:
> My company has an application it needs to remotely debug using gdbserver
> and Eclipse. Unfortunately, it has about 40 threads and takes an
> exceedingly long time to step debug. I'd like to modify the CDT plug-in
> to disable the constant thread status updating (running/suspended, info
> threads, info sharedlibrary, etc) of all the threads except the one
> being debugged.
> Any ideas on where i need to make the modifications?
> In the org.eclipse.cdt.debug.mi.core.cdi package?
>
Re: Diable Tread refresh in UI [message #213188 is a reply to message #211946] Tue, 01 April 2008 20:33 Go to previous message
Ryan Hidek is currently offline Ryan HidekFriend
Messages: 6
Registered: July 2009
Junior Member
So I tried stepping through the CDT code and from what i can see, it would
not be a trivial change to disable thread refreshing for all but the
thread you're interested in. Everything appears to be event driven and i
don't see an easy way to stop the events causing the other threads from
firing.

Anyone with more expertise on the issue able to shed some light on this?
I'm not 100% certain that it's not easily doable.
Previous Topic:Run CDT project from CLI?
Next Topic:External Tool Builder isn't executed During manual build and auto build
Goto Forum:
  


Current Time: Sun Jul 21 16:17:00 GMT 2024

Powered by FUDForum. Page generated in 0.03359 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top