How to tell the AI that I want to know the full stacks of a function call

For example, I have a value get from function A, function A call function B internally, B call C. C call D. I want to get the whole picture of the call stacks.

Here is the prompt I’ve tried:
Provides me the fully call stacks about the value A in the xxx.tsx file in the whole App.
But the GPT only display the function call in the xxx.tsx, not the whole process.

Btw, are there any awesome prompt when using cursor from the community, it’s really helpful to a new guy.

1 Like

Are you already using codebase context? Enabling “Reasoning step” in the advanced codebase context settings might give you better results.

image

1 Like

Thanks a lot, it works.

1 Like