ocamlearlybird icon indicating copy to clipboard operation
ocamlearlybird copied to clipboard

"Goto Closure Code Location" sometimes fails

Open sim642 opened this issue 1 year ago • 1 comments

When debugging this program:

let add x y =
  x + y

let hello name =
  let f = add 1 in
  let text = Format.sprintf "Hello, %s (%d)!" name (f 42) in
  print_endline text

let () = hello "world"

Inside hello, add is listed under "Heap" variables, but "Goto Closure Code Location" for it gives a "No closure code location" error. It's not entirely broken though, because it works for Stdlib things under "Global" variables at least.

sim642 avatar Feb 25 '24 10:02 sim642

This bug mostly like comes from upstream

hackwaly avatar Mar 04 '24 09:03 hackwaly