I’m fairly far along in my first Objective CAML application, at the moment ca. 1300 lines. Given a certain file for input, it raises an exception right away, and I was finally motivated to search out the secret OCAMLRUNPARAM incantation (“b”) to get a traceback. And compiled with “-g”.
Sadly, however, that’s no use at all, because each of the reported 9 locations is Unknown, having been inlined by the ocamlc bytecode compiler. I see that in an older version I might have been able to turn that off, with an -inline=0 flag. Is something like that supported in version 4.07?