Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Christophe Raffalli <raffalli@logique.jussieu.fr>
To: Renaud Marlet <marlet@irisa.fr>, camllist@inria.fr, caml-list@inria.fr
Subject: Re: debugging/tracing: any?
Date: Thu, 05 Dec 1996 11:19:14 +0100	[thread overview]
Message-ID: <32A6A1A2.5735C804@logique.jussieu.fr> (raw)
In-Reply-To: <583nll$hs4@cantaloupe.srv.cs.cmu.edu>

Renaud Marlet wrote:
> 
> Does any of the SML programming environment have working
> debugging/tracing facilities?  And if not, when are such
> functionalities planned to be available?
> 
> What about O'Caml?
> 
> Thanks.
> 
> Renaud

Rigolot de repondre au copain.

OCaml a des "profileur" comptant le nombre d'acces a chaque partie du
code (tres utilies pour detecte les parties jamais utilise lors des test
qui sont donc succeptible de contenir des bugs). Il est tres facile
d'obtenir une trace ou un profileur pour le temps en utilisant le
preprocesseur C avec des trucs du genre:

#ifdef PROFILE
  let f = profile_3_arguments f
#endif

ou profile_3_arguments fait ce que tu veux

Pour le debugger, Caml_Light en a un tres bon (avec backtracking: tu
laise l'erreur se produire et tu reviens en arriere, c'est genial !)

Si tu n'utilises pas le systeme de module et les truc oo, le code ocaml
se compile en caml-light en grande partie (si tu ajoutes les ;;
maintenant obtionel). (Quelques malheureux changement dans certains
module. Donc c'est faisable. A par ca j'espere que quelqu'un porte ce
debugger a ocaml ...

 

-- 
Christophe Raffalli
Département d'informatique
Université de Paris XII
URL: http://www.logique.jussieu.fr/www.raffalli





           reply	other threads:[~1996-12-05 13:23 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <583nll$hs4@cantaloupe.srv.cs.cmu.edu>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32A6A1A2.5735C804@logique.jussieu.fr \
    --to=raffalli@logique.jussieu.fr \
    --cc=caml-list@inria.fr \
    --cc=camllist@inria.fr \
    --cc=marlet@irisa.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox