From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: OCaml List <caml-list@inria.fr>
Cc: Yoann Padioleau <padator@wanadoo.fr>
Subject: debugging in toplevel
Date: Wed, 10 Feb 2010 22:37:08 +0100 [thread overview]
Message-ID: <4B732704.8090809@citycable.ch> (raw)
Hi.
I've been working on Yoann Padioleau's version of ocaml-python bindings.
I unfortunately get the following error:
> yziquel@seldon:~$ ocaml
> Objective Caml version 3.11.1
>
> # #use "topfind";;
> - : unit = ()
> Findlib has been successfully loaded. Additional directives:
> #require "package";; to load a package
> #list;; to list the available packages
> #camlp4o;; to load camlp4 (standard syntax)
> #camlp4r;; to load camlp4 (revised syntax)
> #predicates "p,q,...";; to set these predicates
> Topfind.reset();; to force that packages will be reloaded
> #thread;; to enable threads
>
> - : unit = ()
> # #require "python";;
> /usr/lib/ocaml/unix.cma: loaded
> /usr/lib/ocaml/str.cma: loaded
> /usr/lib/ocaml/python: added to search path
> /usr/lib/ocaml/python/pycaml.cma: loaded
> Exception: Invalid_argument "index out of bounds".
> #
How do you debug something like this? ocamldebug and #trace do not seem
to be very useful. What would you recommend doing to debug this toplevel
error?
--
Guillaume Yziquel
http://yziquel.homelinux.org/
next reply other threads:[~2010-02-10 21:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 21:37 Guillaume Yziquel [this message]
2010-02-10 22:37 ` [Caml-list] " Gerd Stolpmann
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=4B732704.8090809@citycable.ch \
--to=guillaume.yziquel@citycable.ch \
--cc=caml-list@inria.fr \
--cc=padator@wanadoo.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