[Lazarus] debugging parts of rtl from within lazarus
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Mon Mar 17 18:22:41 CET 2014
Marc Santhoff wrote:
> Hi,
>
> the FAQ gives instructions for debugging FCL from within lazarus.
>
> http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_debug_FCL_components_from_packages_with_Lazarus
>
> Does this work for RTL packages as well?
>
> I need to set breakpoints inside serial.pp to see what data SerRead and
> SerWrite really get.
I'm fairly sure that I used Lazarus to set breakpoints in that unit, but
when I was working on it I'd have been using a copy in my project's
working directory.
The patch at http://mantis.freepascal.org/view.php?id=18946 contains a
test program that you might find useful, it's quirky but I used it
heavily when testing the unit for Linux/Solaris/Windows.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list