Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* RE: how to set breakpoint at exception throw?
@ 2000-07-05 21:29 Don Syme
  0 siblings, 0 replies; 13+ messages in thread
From: Don Syme @ 2000-07-05 21:29 UTC (permalink / raw)
  To: 'Norman Ramsey', caml-list

For what it's worth, some sort of indication of where execution was when a
stack overflow happens would also be great. 

Cheers,
Don

-----Original Message-----
From: Norman Ramsey [mailto:nr@eecs.harvard.edu]
Sent: 03 July 2000 22:44
To: caml-list@inria.fr
Subject: Re: how to set breakpoint at exception throw? 


Let me add my voice to the crowd: if the default behavior of a failing
caml program were to produce a trace of uncaught exceptions, my life
would be easier.  It will be especially helpful when we start shipping
buggy caml programs to unsuspecting users, who can't reasonably be
asked to run the caml debugger...


Norman



^ permalink raw reply	[flat|nested] 13+ messages in thread
* how to set breakpoint at exception throw?
@ 2000-06-28 23:24 Scott McPeak
  2000-06-30 13:08 ` Xavier Leroy
  0 siblings, 1 reply; 13+ messages in thread
From: Scott McPeak @ 2000-06-28 23:24 UTC (permalink / raw)
  To: caml-list


In the debugger, I'd like to put a breakpoint essentially in the
'raise' function.  The idea is to get control whenever an exception is
raised, and be able to take a backtrace.

Any ideas on how to do this?

Note: I'm mainly interested in exceptions thrown by the runtime
(e.g. stack overflow), not those thrown by my own code, so simply
wrapping every 'raise' is not enough.

-Scott




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

end of thread, other threads:[~2000-07-07 14:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-05 21:29 how to set breakpoint at exception throw? Don Syme
  -- strict thread matches above, loose matches on Subject: below --
2000-06-28 23:24 Scott McPeak
2000-06-30 13:08 ` Xavier Leroy
2000-07-01 12:57   ` Gerd Stolpmann
2000-07-03 15:05     ` Patrick M Doane
2000-07-03 21:43       ` Norman Ramsey
2000-07-06  3:05         ` Michael Hohn
2000-07-04 14:43       ` John Max Skaller
2000-07-04 18:19         ` Gerd Stolpmann
2000-07-05 22:13           ` Jean-Christophe Filliatre
2000-07-06  1:26           ` Max Skaller
2000-07-06 11:23           ` Daniel de Rauglaudre
2000-07-05  1:28   ` Scott McPeak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox