[fpc-devel] dwarf debug info bugs

Paul Ishenin ip at kmiac.ru
Fri Dec 4 10:31:10 CET 2009

Paul Ishenin wrote:

> It is hard to debug something when stepping works non-reliable.

Marc has exmplained me why I have the strange stepping. It is due to 
internal try finally which is generated for variants.

I think the solution is to set the same line number for that try-finally 
nodes as for the variant itself.

Or as Marc suggested - skip generation of line info for the internal try 

Best regards,
Paul Ishenin.

More information about the fpc-devel mailing list