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 blocks.

Best regards,
Paul Ishenin.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to