# Reported stacktrace are terrible for errors :-/

**URL:** https://discourse.julialang.org/t/reported-stacktrace-are-terrible-for-errors/83193
**Category:** General Usage
**Created:** [June 22, 2022, 3:31pm UTC](https://discourse.julialang.org/t/reported-stacktrace-are-terrible-for-errors/83193 "2022-06-22T15:31:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [June 22, 2022, 3:31pm UTC](https://discourse.julialang.org/t/reported-stacktrace-are-terrible-for-errors/83193/1 "2022-06-22T15:31:08Z")

</div>

I am sure this must already have been discussed, but it’s a nice example… here I made a typo on `Imputators.jl` row `154`, but nowhere in the stacktrace this position is reported…

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/5/65bb66a5d9d05f9767b9c86550bb2ca4443313dd.png)

Is there any package that can help during development in reporting the real position of such kind of typos (or maybe it is not so simple to implement…)

---

<div class="post-metadata">

### Author: ![paulmelis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paulmelis/32/35063_2.png) [@paulmelis](https://discourse.julialang.org/u/paulmelis)
#### Post date: [June 22, 2022, 3:41pm UTC](https://discourse.julialang.org/t/reported-stacktrace-are-terrible-for-errors/83193/2 "2022-06-22T15:41:08Z")

</div>

Is the typo you made part of a very long struct definition? If so, it might be similar to an issue I reported quite some time ago, where the actual error line is not indicated: [Type error within struct reported without actual error line · Issue #38531 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/38531)

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [June 22, 2022, 3:44pm UTC](https://discourse.julialang.org/t/reported-stacktrace-are-terrible-for-errors/83193/3 "2022-06-22T15:44:59Z")

</div>

No, the struct is not particularly long, but anyhow I don’t have its start line in the stack trace… I virtually have nothing close to the error point, the best I have is the beginning of the **module** …
