User forums > General (but related to Code::Blocks)
SUGGESTION: Command line argument to REALLY disable plugins load
(1/1)
ElectroWizard:
A "bad" plugin STILL may crash C::B... even using --safe-mode
--safe-mode does NOT really prevent the loading of plugin libraries...
Of course: we can disable the loading in several ways, such as renaming the lib to "Name.so--" (in linux/*nix...)
but
May I suggest creating some --safe-mode alike CLI flags:
--Disable-Load-All-Plugins to REALLY avoid loading ALL and ANY plugins libs
and
--Dont-Load-Plugin=<plugin1,plugin2...>
Thanks in advance
ElectroWizard
oBFusCATed:
--- Quote from: ElectroWizard on July 09, 2013, 09:26:58 pm --- --Disable-Load-All-Plugins to REALLY avoid loading ALL and ANY plugins libs
--- End quote ---
100% useless option. The compiler is a plugin, so not loading it means useless C::B!
--- Quote from: ElectroWizard on July 09, 2013, 09:26:58 pm --- --Dont-Load-Plugin=<plugin1,plugin2...>
--- End quote ---
If you don't need a plugin it is better to
1. delete if from system
2. not build it in the first place (on windows as far as I know you can choose which plugins to install)
p.s. I agree that the plugin system should be redesigned, but it will wait awhile before it happens.
p.p.s. Use a debugger to track the problem and report it properly, don't try to workaround it. :)
MortenMacFly:
--- Quote from: oBFusCATed on July 09, 2013, 10:20:06 pm ---100% useless option. The compiler is a plugin, so not loading it means useless C::B!
--- End quote ---
Nope, initially C::B was designed to be a powerful editor in this case, at least. Don't forget that you can even install C::B as an editor using the installer on Windows.
If disabled the compiler plugin makes C::B crash that this is a bug.
oBFusCATed:
--- Quote from: MortenMacFly on July 16, 2013, 10:24:37 am ---If disabled the compiler plugin makes C::B crash that this is a bug.
--- End quote ---
You can try for yourself, I don't think you could use C::B without a compiler...
MortenMacFly:
--- Quote from: oBFusCATed on July 16, 2013, 11:41:08 am ---You can try for yourself, I don't think you could use C::B without a compiler...
--- End quote ---
Will do, but it really used to work safely for a long time.
Navigation
[0] Message Index
Go to full version