# How to get useful backtraces?

**URL:** <https://discuss.ocaml.org/t/how-to-get-useful-backtraces/1279>\
**Category:** Learning\
**Created:** [December 12, 2017, 8:10pm UTC](https://discuss.ocaml.org/t/how-to-get-useful-backtraces/1279 "2017-12-12T20:10:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![smolkaj](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/smolkaj/32/266_2.png) [@smolkaj](https://discuss.ocaml.org/u/smolkaj)\
**Post date:** [December 12, 2017, 8:16pm UTC](https://discuss.ocaml.org/t/how-to-get-useful-backtraces/1279/2 "2017-12-12T20:16:35Z")

</div>

Addendum: I’m using `Unix.fork ()` and the exception is thrown in the child process. I think this may be the cause for the bad backtrace.

---

_[View the full topic](https://discuss.ocaml.org/t/how-to-get-useful-backtraces/1279)._
