# Revise error stack trace

**URL:** https://discourse.julialang.org/t/revise-error-stack-trace/39557
**Category:** General Usage
**Created:** [May 15, 2020, 9:26pm UTC](https://discourse.julialang.org/t/revise-error-stack-trace/39557 "2020-05-15T21:26:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)
#### Post date: [May 15, 2020, 9:26pm UTC](https://discourse.julialang.org/t/revise-error-stack-trace/39557/1 "2020-05-15T21:26:34Z")

</div>

My error stack traces are impossible to read. It’s a major pain point and a huge waste of time. Besides the fact that everything is dumped on screen, the line throwing the error is actually lost so I have to blindly debug line by line, restarting the REPL each time.

Is this a local issue with my setup? Anyway I can alleviate this? Julia 1.4 latest on Windows 10.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/c/0cd6aeaa865c25525c669d3bc7029be5ab14ada0.png)

---

<div class="post-metadata">

### Author: ![tbeason](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tbeason/32/15898_2.png) [@tbeason](https://discourse.julialang.org/u/tbeason)
#### Post date: [May 15, 2020, 9:33pm UTC](https://discourse.julialang.org/t/revise-error-stack-trace/39557/2 "2020-05-15T21:33:29Z")

</div>

This will be of only minimal help to you… but it is likely not an issue with your local setup. I do get crazy stacktraces like that sometimes where it basically prints an entire array.

---

<div class="post-metadata">

### Author: ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)
#### Post date: [May 15, 2020, 10:33pm UTC](https://discourse.julialang.org/t/revise-error-stack-trace/39557/3 "2020-05-15T22:33:27Z")

</div>

I think I’ve seen stuff like that mostly when I have Revise acting on files with data, and then changing something causes it to rerun calculations / reparse data / etc. If that’s the case, I’d recommend the pattern discussed in a recent thread ([Revise cannot transform my dataset - #23 by tim.holy](https://discourse.julialang.org/t/revise-cannot-transform-my-dataset/39177/23)) of separating “scripts” from package code, where the package code just has modules and functions but no data, and the scripts use the package code + data to do things. Then Revise just acts on the package code and updates functions as you want without issues from data and global state.

---

<div class="post-metadata">

### Author: ![essenciary](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/essenciary/32/210469_2.png) [@essenciary](https://discourse.julialang.org/u/essenciary)
#### Post date: [May 16, 2020, 6:58am UTC](https://discourse.julialang.org/t/revise-error-stack-trace/39557/4 "2020-05-16T06:58:24Z")

</div>

Thanks, I’ll give it a try. In this case yes, a lot of data is dumped because my types were incompatible (I said `Int` but I was passing a `Vector{Int}`) so it resulted in conversion error, dumping the two arguments. But it happens all the time, regardless of the type of error or the volume of data involved.
