My lua source file have a filename > 60 chars (with needful non absolute path) When the debugger is running, LuaDebugger.cs performs a breakpoint check:
breakpoint = GetBreakpoint(src, line);
GetBreakpoint call GetFile() but it always returns null because
String.Compare(fileName, file.FileName, StringComparison.OrdinalIgnoreCase)
fails
when filename = luaDebug.shortsrc
(shortsrc is defined by [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst = 60/*LUA_IDSIZE*/)]
)
If I use filename = luaDebug.source.toString().Substring(1)
it works but I do not want to change luainterface-debugger source code.