On Fri, 14 Aug 2009, Vincent Snijders wrote:

Mattias Gärtner schreef:
Zitat von Graeme Geldenhuys <grae...@opensoft.homeip.net>:

Mattias Gaertner wrote:

-compiler crashes do not effect the IDE

I like Florian's idea too. As for your statement above, how often does this really happen? In the last 4-5 years that I have been using FPC, the compiler has not once "crashed" on me. Yes it might report that there is a compiler error in my project, but I do not consider that a crash.

The compiler is started on every compile which is the cleanest start you can get. A threaded compiler must have a restart, which is less clean. There will be more crashes and bugs.
What happens if the restart fails?

For the debugger, we have reset debugger.

That's easy: it stops and restarts gdb. an external process.

For the compiler, we would add a reset compiler option.

If the compiler is internal, what would 'reset compiler' do ?
If the compiler people can't guarantee a proper reset, then
neither can the IDE...

With the proposal of Florian, the 'reset compiler' is possible,
just as with GDB...

Michael.
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to