You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1561 Reporter: administrator Assigned to:@xclerc Status: closed (set by @xavierleroy on 2011-05-29T10:20:32Z) Resolution: fixed Priority: normal Severity: feature Fixed in version: 3.11.0 Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: chris quinn
Version: 3.06
OS:
Submission from: 212.42.169.63 (212.42.169.63)
hello.
it would be very nice if in building a debug application version
an access to the trace (as per ocamlrun -b) for logging purposes and perhaps
allowing continued execution/reset.
stderr and a shell wrapper is awkward and complicates matters, and should
be reserved for really catastrophic events like segfaults.
keeping such error handling within the app is neat and portable.
how about a
val trace: exn -> string
or if above not appropriate,
val capture_trace: (string -> unit) -> ('a -> 'b) -> 'a -> 'b
addition to Printexc?
cheers.
chris
The text was updated successfully, but these errors were encountered:
Original bug ID: 1561
Reporter: administrator
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2011-05-29T10:20:32Z)
Resolution: fixed
Priority: normal
Severity: feature
Fixed in version: 3.11.0
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: chris quinn
Version: 3.06
OS:
Submission from: 212.42.169.63 (212.42.169.63)
hello.
it would be very nice if in building a debug application version
an access to the trace (as per ocamlrun -b) for logging purposes and perhaps
allowing continued execution/reset.
stderr and a shell wrapper is awkward and complicates matters, and should
be reserved for really catastrophic events like segfaults.
keeping such error handling within the app is neat and portable.
how about a
val trace: exn -> string
or if above not appropriate,
val capture_trace: (string -> unit) -> ('a -> 'b) -> 'a -> 'b
addition to Printexc?
cheers.
The text was updated successfully, but these errors were encountered: