Commit Graph

28 Commits (master)

Author SHA1 Message Date
David Allsopp 9eeead7b3c Use Fun.protect where possible 2019-10-19 11:49:18 +01:00
David Allsopp e2f278c7a4 Preserve backtraces in debugger
Add Primitives.cleanup which allows handlers for unexpected exceptions
to cleanup and reraise the exception with its backtrace.
2019-10-19 10:38:48 +01:00
Jacques-Henri Jourdan 78de99ecc2 Xavier Clerc's remarks. 2019-07-16 13:42:04 +02:00
Jacques-Henri Jourdan 593f94055a Dynlink support for ocamldebug
This commit adds dynlink support for ocamldebug. As a side effect, it also:
  - factorizes the various functions searching for a code fragment into one,
    called [caml_find_code_fragment];
  - removes the [caml_register_code_fragment], which does not seem to
    be used anywhere, and which clearly should not be used by external code.
2019-07-16 10:52:48 +02:00
Daniel Bünzli a7afd89003 s/string_of_int/Int.to_string/g 2018-11-07 13:52:02 +01:00
Sébastien Hinderer 23a6845929 ocamldebug: add a few commandline options
This commit adds the following options to ocamldebug:
 * -no-prompt: suppress all prompts
 * -no-version: do not print version at startup
 * -no-time: do not print times
 * -no-breakpoint: do not print message at breakpoint setup and removal
 * -topdirs-path: set path to the directory containing topdirs.cmi
2018-03-20 16:00:41 +01:00
Fourchaux 72cfdd56e9 Typos and basic grammar error fixing (#1280) 2017-08-10 11:59:23 +01:00
Alain Frisch 6f0e6735e1 More warnings for debugger/. 2016-03-15 22:47:35 +01:00
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Damien Doligez c63f9e0957 fix a few problems with whitespace and over-long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 22:38:52 +00:00
Xavier Clerc 97e3ed17d8 PR#5116: abide english typography in debugger messages.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-17 12:26:42 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez ed32f569e3 merge changes from ocaml3110 to ocaml3111rc0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-05-20 11:52:42 +00:00
Damien Doligez 95a5c077e8 PR#3767 feature 3: feedback when removing breakpoints
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-08-23 20:16:43 +00:00
Damien Doligez b108b8a068 debut de reforme des locations
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 16:10:57 +00:00
Damien Doligez de30e68b5d changement des locations, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5244 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-05 16:33:24 +00:00
Damien Doligez 123fb9f713 changement des locations, deuxieme tranche
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 22:36:46 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Pierre Weis 208727b833 Éviction des alertes des séquences.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2171 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-12 14:51:27 +00:00
Jérôme Vouillon 576365579c \"private method\" -> \"method protected\"
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1763 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-13 09:04:16 +00:00
Damien Doligez 03ec746bf1 deTABisation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-19 15:42:21 +00:00
Jérôme Vouillon 733eae7dbc new_breakpoint s'occupe de placer le point d'arret a la position du
representant de l'evenement


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1475 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-30 19:42:12 +00:00
Jérôme Vouillon b6d16fd9f8 Gestion des point d'arret en dehors d'evenements.
Bug : les points d'arrets n'etaient pas toujours tous places.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-27 21:08:13 +00:00
Jérôme Vouillon 9f7f455c72 Restaurer l'evenement quand on supprime un point d'arret...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-21 13:31:13 +00:00
Xavier Leroy e3d0b8b539 Suite du portage (nombreuses modifs)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1281 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-02-19 16:09:23 +00:00
Xavier Leroy db037c79de Premier jet du portage OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1209 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-11-29 16:55:09 +00:00