# Customize number of stacktraces in REPL

**URL:** <https://discourse.julialang.org/t/customize-number-of-stacktraces-in-repl/38533>\
**Category:** New to Julia\
**Tags:** question, repl, debugging\
**Created:** [May 1, 2020, 6:57am UTC](https://discourse.julialang.org/t/customize-number-of-stacktraces-in-repl/38533 "2020-05-01T06:57:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neal](https://avatars.discourse-cdn.com/v4/letter/n/49beb7/32.png) [@Neal](https://discourse.julialang.org/u/Neal)\
**Post date:** [May 1, 2020, 6:57am UTC](https://discourse.julialang.org/t/customize-number-of-stacktraces-in-repl/38533/1 "2020-05-01T06:57:53Z")

</div>

Hello, I find the number of stacktraces in REPL are a bit overwhelming with my screen get flushed out and my REPL becomes a mess to scroll through history. Most of the time I only need to inspect the the deepest 5 or 10 stacktraces on first inspection, call `Debugger` or when needed I would call `Base.show_backtrace` manually.

My question is how do I limit number of stacktraces in REPL to customizable number say 5 or 10?

Thank you for the help.

---

<div class="post-metadata">

**Author:** ![hendri54](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hendri54/32/9621_2.png) [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Post date:** [May 1, 2020, 4:41pm UTC](https://discourse.julialang.org/t/customize-number-of-stacktraces-in-repl/38533/2 "2020-05-01T16:41:23Z")

</div>

Something may be in the works (at least it has been debated extensively):

[https://github.com/JuliaLang/julia/issues/33065](https://github.com/JuliaLang/julia/issues/33065)
