ocamldebug
replay debugger. The debugger was ported from Caml Light recently
and still contains a few rough edges, but is already very helpful.
Other options include inserting print
statements in your
code (often the best way to deal with really large programs), or load
it under the toplevel system and use the trace facility.
Source-level debugging of native code is technically very challenging and will probably never be supported. Instead, we aim at 100% compatibility between the bytecode and native-code compilers, so that programs can be debugged on the bytecode system, then compiled to efficient native code.
With the native-code compiler, you can try to use the standard Unix
profiler gprof
on the executable file. Just add the
-p
option at link-time. (As of release 2.00, this is fully
supported only on Linux/Intel and Alpha/Digital Unix machines.)
unix
, camltk
, str
and
num
libraries.
Caml -
Objective Caml -
Projet Cristal -
Homepages -
Contact the Caml maintainers
Author: Xavier Leroy --
Last modified: 1998/10/16