[Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]

Joost van der Sluis joost at cnoc.nl
Tue Sep 13 17:15:56 CEST 2011


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





More information about the Lazarus mailing list