OS Manuals

/usr/bin/ocamldebug

The core OCaml system: compilers, runtime system, base libraries

From ocaml 5.5.2-r0 (os), captured 2026-11-05 by running ocamldebug --help (exit 0). permalink

Usage: ocamldebug [options] <program> [arguments]
Options are:
  -c <count>  Set max number of checkpoints kept
  -cd <dir>  Change working directory
  -emacs For running the debugger under emacs; implies -machine-readable
  -I <dir>  Add <dir> to the list of include directories
  -machine-readable Print information in a format more suitable for machines
  -s <filename>  Set the name of the communication socket
  -version  Print version and exit
  -vnum  Print version number and exit
  -no-version  Do not print version at startup
  -no-prompt  Suppress all prompts
  -no-time  Do not print times
  -no-breakpoint-message  Do not print message at breakpoint setup and removal
  -help  Display this list of options
  --help  Display this list of options
Options (14)
OptionDescriptionSource
-c countSet the maximum number of simultaneously live checkpoints to count.help + man
-cd dirRun the debugger program from the working directory dir, instead of the current working directory.help + man
-I dirAdd directory to the list of directories searched for source files and compiled files.help + man
-s filenameUse socket for communicating with the debugged program.help + man
-versionPrint version string and exit.help + man
-vnumPrint short version number and exit.help + man
-no-versionDo not print version at startuphelp
-no-promptSuppress all promptshelp
-no-timeDo not print timeshelp
-no-breakpoint-messageDo not print message at breakpoint setup and removalhelp
-helpDisplay a short usage summary and exit.help + man
--helpDisplay this list of optionshelp
-emacsTell the debugger it is executed under Emacs. (in the manual page but not in --help)man
-machine-readablePrint information in a format more suitable for machines instead of human operators where applicable. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.