whither stack traces?

Dave Herman <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
When I use ml-build to create a heap and then run that heap image with 
sml @SMLload=file.heap, top-level exceptions appear to be silently 
dropped. I've noticed that in the REPL, there is some sort of exception 
backtrace given. Scouring the web indicates that previous versions of 
SML/NJ included the SMLofNJ.Internals.BTrace.mode option as well as the 
-Cinstrument.btrace-mode command-line argument, neither of which appears 
to exist anymore. I also noticed via sml -H a tdp.instrument compiler 
switch, but couldn't find any documentation.

How do I get backtraces for uncaught exceptions when running a heap image?

Thanks,
Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.