Delphi-RAG-Lint

drag-lint help

Reverse Call Tree (clickable, Messages window)

Since: 0.98.0-alpha

The same reverse call tree, rendered into the IDE's Messages window so each line navigates to the caller.

Read this when you want to click through the callers of a symbol instead of reading a flat report: the IDE shows the reverse call tree in the Messages window, and each line jumps to the caller.

How to run it

Full flag list: reverse-calltree in the CLI reference.

Flags

FlagArgumentMeaningDefault
--qname<X>
--direction
--depthN
--format
--json
--dbPATH

Where to click

  • RAD Studio main menu: drag-lint > Uses & Dependencies > Reverse Call Tree (who calls this, N-deep)...
    1. Put the caret on the routine in the editor
    2. Choose drag-lint > Uses & Dependencies > Reverse Call Tree (who calls this, N-deep)...
    3. The callers appear in the Messages window; double-click a line to open that caller

Needs: index

Details

The same reverse call tree, rendered into the IDE's Messages window so each line navigates to the caller. Reach for it when you want to click through the callers instead of reading a flat report.

Running it from the CLI

drag-lint reverse-calltree --qname <X> [--direction callers|callees] [--depth N] [--format text|json|dot|mermaid] [--json] --db PATH [--db ...]

Same command as the plain Reverse Call Tree; the IDE renders the result into the clickable Messages window instead of a text report.

What it needs

An index IS required -- reverse-calltree reads the project's index database. The project's DB lives at <project folder>\_D-RAG\<project file>.sqlite; run drag-lint resolve-dbs --project <X.dproj> if you are unsure which one.

Example

Illustrative only: invoking this on CustomerOrder.TCustomerOrder.Total would list its callers in the Messages window, each line clickable to jump to that call site.


All features | CLI reference | IDE menus