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
BreakPoint Test:
User set lua extension: .
Auto get lua extension: .lua
User set truncatedOPath: test1/0
GetInfo: @e:/test1.0/spec/[xxxx]test.lua
Normalized: /spec/[xxxx]test.lua
Formated: [xxxx]test.lua
Breakpoint: e:/test1.0/spec/[xxxx]test.lua
说明:自动路径(autoPathMode)模式已开启。同名文件中的断点识别(distinguishSameNameFile) 已开启。本文件中断点可被正常命中"
但是代码luaPanda命中短点逻辑this.isHitBreakpoint函数中
if (not distinguishSameNameFile) or (string.match(fullpath, oPathFormated ) and this.checkRealHitBreakpoint(opath, curLine)) then
.....
使用testBreakpoint,能显示匹配串,但是文件名包含[ ]这样的正则表达式,没有转义:
消息如下:
"
User set lua extension: .
Auto get lua extension: .lua
User set truncatedOPath: test1/0
GetInfo: @e:/test1.0/spec/[xxxx]test.lua
Normalized: /spec/[xxxx]test.lua
Formated: [xxxx]test.lua
Breakpoint: e:/test1.0/spec/[xxxx]test.lua
说明:自动路径(autoPathMode)模式已开启。同名文件中的断点识别(distinguishSameNameFile) 已开启。本文件中断点可被正常命中"
但是代码luaPanda命中短点逻辑this.isHitBreakpoint函数中
if (not distinguishSameNameFile) or (string.match(fullpath, oPathFormated ) and this.checkRealHitBreakpoint(opath, curLine)) then
.....
string.match(fullpath, oPathFormated ) 这里会永久返回nil,测试发现是文件名包含正则表达式[ ] 导致的,导致断点无法命中
The text was updated successfully, but these errors were encountered: