Trace Data Flow

Follow a value through every function that touches it, with side effects and an ASCII flow diagram.

Advanced1 min read

Customize

Fill these in and the prompt below updates as you type. Anything you leave blank stays as a placeholder.

Your prompt

2 placeholders left
I need to understand how data flows through this code. Starting from {{entry_point}}, trace the data transformation step by step:

{{code}}

For each step: what function is called and with what arguments, how the data is transformed, what side effects occur (database writes, API calls, state changes), where errors could occur and how they propagate, and what the final output looks like.

Draw an ASCII diagram showing the flow.

Similar prompts

Add Diagnostics Before Guessing

Instrument first, theorize second — logging with a stated plan for capturing the failure.

Bisect a Regression

Walk the history between a known-good commit and main to find the culprit diff.

Break a God Function Apart

Split an oversized function into well-named pieces without changing external behavior.

Debug a Performance Problem

Find the N+1s, blocking calls, and hot loops, ranked by impact-per-effort.