Repository navigation
ask who reads
Every routine that reads a field or property. One of the diagram questions of the ask verb -- see Diagrams and Charts for the model, the bundle and click-to-source.
Answered in-process by the engine (drag-lint ask); no PowerShell is needed (see Charts and the IDE).
From RAD Studio: drag-lint > Reports > Who reads this field... -- put the caret on the selection first (see IDE Menu Reference).
drag-lint ask --question who-reads --at <file.pas>:<line>:<col> --db <project.sqlite>
The selection is the symbol under --at (resolved exactly as Type at Cursor resolves a caret). From a terminal, ask it by name:
drag-lint ask who-reads --target MyApp.Orders.TOrder.Total --db <project.sqlite>
A field or a property.
The member and every routine that READS it, grouped by unit, with read-site counts. Both totals ride in the header.
member_accesses rows with mode read.
Row cap (default 20), disclosed as "+N more".
Same accessor attribution and with caveat as who-writes. A widely read flag (a Connected property read in hundreds of routines) is exactly what the cap exists for.