caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Why are backtraces (sometimes) useless
@ 2005-06-24 16:39 Yaron Minsky
  2005-06-24 16:54 ` [Caml-list] " malc
  2005-06-24 18:32 ` Richard Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Yaron Minsky @ 2005-06-24 16:39 UTC (permalink / raw)
  To: Caml Mailing List

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

I've had a lot of experience lately with OCaml backtraces sucking, and I'm 
not sure what's going on. We're working on a decent-sizes project (about 
10-kloc) that uses threads and a decent amount of functorization. One thing 
we've noticed is that backtraces are almost completely useless --- generally 
speaking, they have lots of "Called from unknown location" messages, and 
almost no useful data. They often skip over functions on the call stack of 
the error in surprising ways.

I guess the question is this: what kind of situations cause backtraces to 
drop information in the ways described above?

Also, is there anyone out there actively using the native-code backtrace 
patches that people have come up with? I'm curious to hear other people's 
experiences.

y

[-- Attachment #2: Type: text/html, Size: 854 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-24 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-24 16:39 Why are backtraces (sometimes) useless Yaron Minsky
2005-06-24 16:54 ` [Caml-list] " malc
2005-06-24 18:32 ` Richard Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).