[Lazarus] Debugging in Lazarus, cannot inspect values at breakpoints...
lazarus at kluug.net
Wed Sep 30 11:12:29 CEST 2020
On 30.09.2020 10:55, Michael Van Canneyt via lazarus wrote:
> Does Lazarus offer the functionality Delphi has (since quite some time, I
> might add): custom debug info visualizers ?
> Seems like a useful addition. Don't know if it is technically
> feasible, though.
Yes, I implemented them, IIRC. Don't remember the details, though. I
added TDate, TDateTime and TTime formatters. It was quite a simple
addon, should be easy to find in the sources.
The problem of object-based visualizers like a visualizer for TStrings
is that your Lazarus IDE has to be compiled with the same FPC
version/codebase that you also use for the debugged program. In Delphi
this is usually the case (if you don't fiddle with RTL sources to fix
bugs). In FPC/Lazarus this doesn't need to apply. I usually build
Lazarus IDE less frequently than I update and build FPC trunk. Or you
can build Lazarus with FPC stable but develop applications with FPC
trunk. In that case such additions are unsafe.
More information about the lazarus