New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocamldebug alters filenames and can't find source #3859
Comments
Comment author: administrator On Fri, 11 Oct 2002 10:13:17 +0200, Maxence Guesdon maxence.guesdon@inria.fr writes:
I was just trying to debug some code in a toplevel flatfile, no
Perhaps it should warn about using a capitalized filename? Or try the What if I have a bunch of toplevel (not using a module) stuff in a Scott |
Comment author: administrator
You should not use capitalized ames for ocaml source files. This constraint may not be clear in the documentation : Here is an extract from the ocaml reference manual: << When the compiler encounters a reference to a free module identifier Mod, it looks in the search path for a file mod.cmi (note lowercasing of first letter) ... >> ( http://pauillac.inria.fr/ocaml/htmlman/manual022.html ) Thanks for your report, -- |
Comment author: administrator
Right. We have plans to do this, but there's a twist with ocamldep on
|
Original bug ID: 1421
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Scott Crosby
Version: 3.04
OS: linux
Submission from: gh-1216.gh.rice.edu (128.42.216.216)
I create a file TEMP.ml
I compile it with 'ocamlc -g TEMP.ml'
I then attempt to run it in the debugger, but the debugger cannot find the
source file. I strace ocamldebug and find that its trying to load in 'tEMP.ml'
as source.
For some reason, its attempting to do case canonicalization and messing up.
Scott
The text was updated successfully, but these errors were encountered: