Skip to content

Commit ec73f19

Browse files
committed
Debug
1 parent c94d55e commit ec73f19

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lua/nvimgdb/win.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ function Win:lopen(cmd, mods)
311311
-- Setup 'errorformat' for the given backend. Do it locally because 'efm' can change be reset when editing files.
312312
efmmgr.setup(backend.get_error_formats())
313313
log.debug({win = self.jump_win, valid = vim.api.nvim_win_is_valid(self.jump_win), llist = llist})
314+
log.debug({efm = vim.o.efm})
314315
local res = vim.fn.setloclist(0, {}, ' ', {lines = llist})
315316
log.debug({res = res, loclist = vim.fn.getloclist(0, {lines = 1})})
316317
vim.cmd(mods .. ' lopen')

test/70_quickfix_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ describe("quickfix", function()
193193
assert.is_true(
194194
eng.wait_for(
195195
function() return vim.fn.line('.') end,
196-
function(r) return r == 16 end
196+
function(r) print(r); return r == 16 end
197197
)
198198
)
199199
eng.feed(':lnext\n')

0 commit comments

Comments
 (0)