Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Why does CDT contribute to early Startup?

Hi,

I have removed the early startup code and moved the adapter registration
from CDebugUIPlgin to plugin.xml. This eliminates the early CDT debug
plugins loading, but the problem with the Standard Make UI remains. 
With my tests the changes seem to work fine, but it is difficult to
cover all cases. Please, let me know if you notice a wrong behaviour
like missing menu actions or empty views.
For details see https://bugs.eclipse.org/bugs/show_bug.cgi?id=197178 and
https://bugs.eclipse.org/bugs/show_bug.cgi?id=197664. 

Thanks,
Mikhail Khodjaiants
ARM Limited

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Mikhail Khodjaiants
Sent: 23 July 2007 17:53
To: CDT General developers list.
Subject: RE: [cdt-dev] Why does CDT contribute to early Startup?

Martin,

I am not sure that loadAdapter is the good way to solve the problem. As
far as I understand Darin is investigating the problem.

Mikhail 

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Oberhuber, Martin
Sent: 23 July 2007 16:16
To: CDT General developers list.
Subject: RE: [cdt-dev] Why does CDT contribute to early Startup?

FYI,

I now filed
https://bugs.eclipse.org/bugs/show_bug.cgi?id=197495
asking for removal of the earlyStartup contribution in CDT Standard Make
UI.

I'd appreciate somebody looking at it, it seems that the work of
converting projects could also be done lazily on plugin activation.

Thanks,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm 

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Oberhuber, Martin
> Sent: Thursday, July 19, 2007 7:43 PM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Why does CDT contribute to early Startup?
> 
> Hello Mikhail,
> 
> For CDT Debug UI, I filed this bug;
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=197178
> 
> Could somebody else comment why CDT Standard Make contributes 
> earlyStartup?
> 
> Thanks,
> --
> Martin Oberhuber
> Wind River Systems, Inc.
> Target Management Project Lead, DSDP PMC Member 
> http://www.eclipse.org/dsdp/tm
> 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Mikhail
> Khodjaiants
> > Sent: Thursday, July 19, 2007 5:12 PM
> > To: CDT General developers list.
> > Subject: RE: [cdt-dev] Why does CDT contribute to early Startup?
> > 
> > Martin,
> > 
> > The early startup for the CDT debugger is required to activate the 
> > adapters used by the platform views. A CDT debug session can be 
> > started without using any of the CDT debug components (by clicking 
> > the Debug button on the toolbar, for example). In this case the
> adapters are not
> > registered and the views are not rendered properly. 
> > Probably, there is a way to load it lazily. Please, submit a request

> > and we will look at it.
> > 
> > Regards,
> > Mikhail
> > 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> > On Behalf Of Oberhuber, Martin
> > Sent: 19 July 2007 15:23
> > To: CDT General developers list.
> > Cc: Stieber, Uwe; Gutschelhofer,Martin
> > Subject: [cdt-dev] Why does CDT contribute to early Startup?
> > Importance: High
> > 
> > Dear CDT developers,
> > 
> > I noticed today that CDT contributes to earlyStartup:
> > Window > Preferences > General > Startup and Shutdown
> >    "C/C++ Development Tools Debugger UI"
> >    "C/C++ Standard make Build UI"
> > 
> > I'm slightly worried about these entries, because they mean that 
> > even if I do not use anything from CDT it will activate practically 
> > all the CDT plugins (since Debugger UI depends on UI, which depends 
> > on Core; Make UI depends on Make core); thus making my Eclipse 
> > startup time worse.
> > 
> > Is it really necessary to have these start up automatically? What 
> > happens if I disable these?
> > Can these be improved in the future to allow for lazy plugin loading

> > and thus improved startup time?
> > 
> > Fast startup time is quite important for our commercial product...
> > 
> > Thanks,
> > --
> > Martin Oberhuber
> > Wind River Systems, Inc.
> > Target Management Project Lead, DSDP PMC Member 
> > http://www.eclipse.org/dsdp/tm 
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > 
> > --
> > IMPORTANT NOTICE: The contents of this email and any attachments are

> > confidential and may also be privileged. If you are not the intended

> > recipient, please notify the sender immediately and do not disclose 
> > the contents to any other person, use it for any purpose, or store 
> > or copy the information in any medium.  Thank you.
> > 
> > 
> > _______________________________________________
> > 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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top