# Monitoring the stack

**URL:** <https://discourse.julialang.org/t/monitoring-the-stack/88026>\
**Category:** General Usage\
**Created:** [September 30, 2022, 8:25am UTC](https://discourse.julialang.org/t/monitoring-the-stack/88026 "2022-09-30T08:25:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philippe\_Maincon1](https://avatars.discourse-cdn.com/v4/letter/p/ec9cab/32.png) [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Post date:** [September 30, 2022, 8:25am UTC](https://discourse.julialang.org/t/monitoring-the-stack/88026/1 "2022-09-30T08:25:19Z")

</div>

I am getting a deterministic StackOverflowError, and I have so far not managed to reduce it to a MWE. One of my functions in the callstack uses an array comprehension, and when I replace it with a function where I explicitly allocate and fill the array (I wanted to print out values, old fashioned debugging), the error disappears. The stacktrace does not suggest that I have unwittingly caused a recursive call. The short of it, I am puzzled and have too little information to provide so anyone can help.

But: Are there any tools that would allow me to monitor the memory stack?

😃
