OcaIDE icon indicating copy to clipboard operation
OcaIDE copied to clipboard

debugging: locating source modules does not work.

Open nilsbecker opened this issue 12 years ago • 0 comments

the debugger cannot find the values defined in an included module in the same directory.

main.ml

let sq x = x * x;;

run.ml

open Main open Printf

let _ = let _ = print_endline (sprintf "the square of 3 is not %d" (sq 4)) in print_endline "something else"

now compile main.d.byte, run.d.byte, start a debug run of run.d.byte, place a breakpoint in the last line of run.ml and hover the mouse over the "sq" call.

result: "Cannot find module Main. "

was this supposed to be fixed recently?

nilsbecker avatar Jan 19 '13 14:01 nilsbecker