Hello Lazarus-List, Friday, January 7, 2011, 12:52:46 PM, you wrote:
AS> Sounds like you had smart linking enabled. As a rule of thumb you AS> should have no optimizations enabled when debugging: optimization level AS> 0 or 1 and most importantly no smart linking. No, I do not have any kind of smartlinking active and my debug level are always 1 or in some programs 0, never 2 or upper. Maybe is the compiler which "removes" the code and not the linker (I'm working mostly in Windows). But for sure if the code is not called anywhere and you put a breakpoint there the next executable line will stop the code, 99% of times a function/procedure entry. Ah! another hint, in that cases the breakpoint does not change to invalid breakpoint when run. -- Best regards, José -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
