<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Without knowing too much about your project setup, and if I'm understanding correctly, see</div><div><br></div><div><a href="http://haddock.stackage.org/lts-5.1/base-4.8.2.0/Debug-Trace.html#v:traceStack">http://haddock.stackage.org/lts-5.1/base-4.8.2.0/Debug-Trace.html#v:traceStack</a><br></div><div><br></div><div>Keep in mind that you have to build with the corresponding flags in order to get it working correctly. Assuming you're using stack that would be:</div><div><br></div><div><div>stack build --enable-profiling --library-profiling --ghc-options="-fprof-auto-rtsopts"</div></div><div><br></div><div>Though I'm not sure if that's 100% what you're looking for since it doesn't break as much as that it logs with a stack trace.</div><div><br></div><div>Hope it helps!</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 28 Jul 2016 16:43:03 +0300<br>
From: Constantine Kharlamov <<a href="mailto:hi-angel@ya.ru">hi-angel@ya.ru</a>><br>
To: <a href="mailto:haskell-cafe@haskell.org">haskell-cafe@haskell.org</a><br>
Subject: [Haskell-cafe] Breaking in library, and getting stacktrace<br>
Message-ID: <<a href="mailto:147361469713383@web5j.yandex.ru">147361469713383@web5j.yandex.ru</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160728/b4652af8/attachment-0001.html" rel="noreferrer" target="_blank">http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160728/b4652af8/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Haskell-Cafe Digest, Vol 155, Issue 33<br>
*********************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Carlos D'Agostino.</div>
</div></div>