# How to debug EnzymeRuntimeActivityError

**URL:** <https://discourse.julialang.org/t/how-to-debug-enzymeruntimeactivityerror/143131>\
**Category:** Numerics\
**Tags:** question, memory-allocation, enzyme\
**Created:** [November 23, 2026, 1:27pm UTC](https://discourse.julialang.org/t/how-to-debug-enzymeruntimeactivityerror/143131 "2026-11-23T13:27:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [November 23, 2026, 1:27pm UTC](https://discourse.julialang.org/t/how-to-debug-enzymeruntimeactivityerror/143131/1 "2026-11-23T13:27:44Z")

</div>

I would like to learn more about _general_ strategies to debug `EnzymeRuntimeActivityError`.

Yes, I understand _what_ is happening from the [docs](https://enzyme.mit.edu/julia/stable/faq/#faq-runtime-activity). The question is how to hunt one down in a complex codebase. I can capture the location, but often `JET.@report_opt` and `JET.@report_call` don’t show any problems. I wonder what tools I am missing.
