Error: nothing at ....

Issue #19 on hold
Former user created an issue

on this file let f x = x + 1

with $ ocamlc -version 4.00.1 $ ocamlc -c -bin-annot $ ls -l simple.cmt -rw-r--r-- 1 1876110778 2037 Dec 4 12:57 simple.cmt $ cd ~/local/ocaml/ocamlspot $ hg branch $ default $ hg head changeset: 219:ebf35b4c7712 tag: tip user: Jun Furuse date: Mon Dec 03 03:00:12 2012 -0800 summary: Changed (not done yet though) ... $ uname -a Darwin Padioleaumbp15.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64 i386 MacBookPro8,2 Darwin

Then under emacs, after loading ocamlspot.el I get Error nothing at l1c10 when I C-c C-t on the x identifier in

Comments (5)

  1. Jun Furuse repo owner

    I cannot reproduce the problem:

    What I did:

    $ ./ocamlspot
    Pathreparse: not supported: x (Failure("The given position is not clear enough"))
    Use: Value, x__1009
    Type: int
    XType: int
    At: Expr
    Tree: l1c10b10:l1c11b11
    XTree: </home/jun/.share/projects/ocamlspot/tests/>
    Val: val x : int
    Spot: </home/jun/.share/projects/ocamlspot/tests/>

    Could you check the same using the very built ocamlspot (not one in your PATH), instead via Emacs?

  2. Jun Furuse repo owner

    I got the simple.cmt of the reporter (I do not attach it here since it contains author's name in it). The file seems to be normal. Some possibilities come to my mind:

    • Newly added file identification by dev+inode is not working in Darwin
    • Using wrong ocamlspot binary
    • Node tree search has a bug
  3. Log in to comment