sajad torkamani

Use the profiling_collect_backtrace: true option like so:

How to see what code executed a Doctrine query

Now, you should see a View query backtrace button on the profiler:

How to see what code executed a Doctrine query

Links