Am 24.06.2017 11:13 schrieb "Santiago A. via Lazarus" < lazarus@lists.lazarus-ide.org>: > > El 24/06/2017 a las 0:14, Bo Berglund via Lazarus escribió: > The problem is that the debugger always stops on the > > exceptions making the debugging impossible (they happen with 10 ms > > intervals). > When I run into a program that raises a lot of exceptions in a loop, I > think that I'm doing something wrong, I have missed some check or data > sanitation in the loop. Exceptions are for exceptional cases. I mean, > errors or unexpected cases. A case that happens each 10 ms is not an > error or an exceptional case, it's one of the usual cases, and it must > be handled by the natural flow of the program in a structured way. > Raising continuously exceptions is not only an annoyance for debugging, > but a performance problem. Exceptions may be expensive.
Well, Indy abuses Exceptions for notifications and such... Regards, Sven
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus