On Tue, 2011-09-13 at 17:10 +0200, Vincent Snijders wrote: > An rtl with debug info has advantages such as visibility of global variables. > > The disadvantage is that step into also steps into compiler helpers, > like increasing the reference count of an ansistring or setting up an > exception frame. That is the reason, I distribute the RTL for win32 > now without debug info, > > Is it possible to include debug info for the variables, but not debug > info for stepping into these compiler helpers?
See my mail from 15:01. Yes, that's possible. I once wrote a patch that made it possible to force debug-info on a type or global variable, with some extra keyword. So that we could mark some variables or types in the RTL with it. But then Jonas said (wrote) that adding a compiler switch that appends debug-info without lineinfo would be better. And I have to agree to that. So the original patch never made it. But I never made a new one to implement such a switch. Joost. -- My Lazarus blog: http://www.lazarussupport.com/lazarus/weblog -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
