Skip to content

Commit 0c49eee

Browse files
committed
fix: 清除断点设置逻辑中的 bp.column 和 bp.endColumn 字段
1 parent a4d5bde commit 0c49eee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extension/script/backend/master/request.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,8 @@ function request.setBreakpoints(req)
179179
local args = req.arguments
180180
local invalidPath = args.source.path and not isValidPath(args.source.path)
181181
for _, bp in ipairs(args.breakpoints) do
182+
bp.column = nil
183+
bp.endColumn = nil
182184
bp.id = genBreakpointID()
183185
bp.verified = false
184186
bp.message = invalidPath

0 commit comments

Comments
 (0)