张杰全
张杰全
# 概述 有时,我们会发现在使用 IntelliJ-EmmyLua 来 Debug 时,一些字符串信息会显示不全。 具体的显示不全的情况有:字符串截断,ASCII控制字符被替换为固定字符,等等。 显示不全,导致调试过程中不方便,无法准确得知字符串的内容。 为了解决这个问题,本PR为 IntelliJ-EmmyLua 增加特性,可以使得 EmmyLua 在必要时增加显示字符串的Hex及ASCII码。 需要注意的是,本PR依赖EmmyLuaDebugger的PR,见[https://github.com/EmmyLua/EmmyLuaDebugger/pull/50](https://github.com/EmmyLua/EmmyLuaDebugger/pull/50)。 # 结合示例说明本PR ## 测试用例 假设正在断点调试以下代码: ```lua local function hexToString(hexStr) return (hexStr:gsub('(%x%x)', function(h) local charNum =...
# 问题(Issue) 在tolua.c中,试图根据宏LUAJIT_VERSION对代码进行区分, 然而实际情况是,并未按预期走入我们所期望的分支。 在文件tolua_runtime\tolua.c中,代码如下: (In tolua.c, there is an attempt to differentiate the code based on the LUAJIT_VERSION macro. However, in reality, it does not follow the expected path....