Skip to content

Commit

Permalink
make the stack frame paths absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidan63 committed Sep 8, 2024
1 parent 7415e9f commit 960b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generators/gencpp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ let with_debug ctx metadata run =

let hx_stack_push ctx output clazz func_name pos gc_stack =
if ctx.ctx_debug_level > 0 then begin
let stripped_file = strip_file ctx.ctx_common pos.pfile in
let stripped_file = strip_file ctx.ctx_common (Path.get_real_path pos.pfile) in
let esc_file = (StringHelper.s_escape stripped_file) in
ctx.ctx_file_info := PMap.add stripped_file pos.pfile !(ctx.ctx_file_info);
let full_name = clazz ^ "." ^ func_name ^ (
Expand Down

0 comments on commit 960b81f

Please sign in to comment.