Skip to content

debugging: locating source modules does not work. #10

Description

@nilsbecker

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions