You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created simple "module" printk.lua, which only prints several numbers and exports a function
if I execute it with dofile, breakpoints in the file get hit, but if I require it, the breakpoints don't get hit.
Stepping inside required files works fine, just the breakpoints do not
The text was updated successfully, but these errors were encountered:
so I have found out the lua debug interface provides absolute path in source field (file path) for require-d modules/files and relative paths for dofile executed files
I suggest always using absolute paths and prepending path from debuginfo.source() with cwd, when it is relative. I think this would also solve issue #17 and simplify sourceRoot path resolving (see my fork)
I have created simple "module" printk.lua, which only prints several numbers and exports a function
if I execute it with dofile, breakpoints in the file get hit, but if I require it, the breakpoints don't get hit.
Stepping inside required files works fine, just the breakpoints do not
The text was updated successfully, but these errors were encountered: