caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamldebug question
Date: Fri, 9 Aug 2013 11:59:35 +0100	[thread overview]
Message-ID: <BF669083DBCF475BB99EDEC3880E47B4@erratique.ch> (raw)
In-Reply-To: <5204CA32.3020403@gmail.com>

Le vendredi, 9 août 2013 à 11:53, Matej Kosik a écrit :
> Hello,
>  
> Is there any convenient way how to tell ocamldebug which commands to execute at startup?
> (like it is possible to do with ".gdbinit" file for "gdb"?)
>  
> It is not too bad to enter:
>  
> break @ Main 1
> run
>  
> everytime, but if there is a way to automate that (or something more complex),
> it could make things smoother.


It seems the best you can do is reduce n commands to 1:

http://caml.inria.fr/pub/docs/manual-ocaml/manual030.html#toc131

Best,

Daniel



  reply	other threads:[~2013-08-09 10:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 10:53 Matej Kosik
2013-08-09 10:59 ` Daniel Bünzli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-10-14 13:19 Matej Kosik

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=BF669083DBCF475BB99EDEC3880E47B4@erratique.ch \
    --to=daniel.buenzli@erratique.ch \
    --cc=5764c029b688c1c0d24a2e97cd764f@gmail.com \
    --cc=caml-list@inria.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;
as well as URLs for NNTP newsgroup(s).