summaryrefslogtreecommitdiff
path: root/xmake/core/base/debugger.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-25 22:54:41 +0800
committerruki <[email protected]>2023-08-25 22:54:41 +0800
commit98aae2126c80d4e0f3019675666c5c09b4e021f8 (patch)
treecd6e5f3fe0e59cadc5fdf080e32838323c06b22e /xmake/core/base/debugger.lua
parentdbce160c77c6bc28f42b506cd6fbfc2bd051621f (diff)
fix load symbols
Diffstat (limited to 'xmake/core/base/debugger.lua')
-rw-r--r--xmake/core/base/debugger.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/debugger.lua b/xmake/core/base/debugger.lua
index 535c70831..65267d21d 100644
--- a/xmake/core/base/debugger.lua
+++ b/xmake/core/base/debugger.lua
@@ -28,7 +28,7 @@ local path = require("base/path")
-- start emmylua debugger
function debugger:_start_emmylua_debugger()
local debugger_libfile = os.getenv("EMMYLUA_DEBUGGER")
- local script, errors = package.loadlib(debugger_libfile)
+ local script, errors = package.loadlib(debugger_libfile, "luaopen_emmy_core")
if not script then
return false, errors
end