EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.75k stars 294 forks source link

mobdebug.lua-error #591

Open wssaidong opened 1 month ago

wssaidong commented 1 month ago

Environment(环境)

name version
IDEA version IntelliJ IDEA 2024.2.1 (Ultimate Edition)
EmmyLua version [e.g. v1.2.5]
OS Macos - M2

What are the steps to reproduce this issue?(重现步骤?)

  1. require("mobdebug").start("127.0.0.1", 9966)
  2. idea 插件 Version = 1.4.14-IDEA242

What happens?(出现什么问题?)

./mobdebug.lua:1059: bad argument #2 to 'sub' (number expected, got nil)

What were you expecting to happen?(期望?)

调用成功

Any logs, error output, etc?(有没有什么log, error输出?)

(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)

Any other comments?(其它说明)

CppCXY commented 1 month ago

please use emmy_core for debugger instead of mobdebug