KDE/kdevelop/plugins/languages/cpp

David Nolden zwabel at googlemail.com
Sun Jan 4 23:51:18 UTC 2009


Am Monday 05 January 2009 00:42:56 schrieb Andreas Pakulat:
> On 04.01.09 17:30:13, Alex Merry wrote:
> > SVN commit 905587 by alexmerry:
> >
> > Don't crash if no file is opened (the ILanguage object that should be
> > returned by language() is only created when a file matching one of the
> > mimetypes in kdevcppsupport.desktop is opened, but the CppLanguageSupport
> > object seems to be created when KDevelop is started).
>
> This sounds like the wrong fix. C++ plugin shouldn't be loaded by default,
> only on demand when actually opening a C++ file, right David?
>
> Could be a bug in the plugin-loading logic in
> PluginController::initialize()
>
> Andreas
It might be loaded when the class-browser or something similar requests to 
laod some C++ duchain objects, and if it happens in foreground, this will 
trigger a loading of the language support.

Even if class-view is fixed, we would still have to live with this.

Greetings, David




More information about the KDevelop-devel mailing list