Skip to content

Commit 9b81479

Browse files
committed
Include frame name in "Source missing" info messages
1 parent cef212e commit 9b81479

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/dap/session.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ end
535535
local function jump_to_frame(session, frame, preserve_focus_hint, stopped)
536536
local source = frame.source
537537
if not source then
538-
utils.notify('Source not available, cannot jump to frame', vim.log.levels.INFO)
538+
utils.notify('Source missing, cannot jump to frame: ' .. frame.name, vim.log.levels.INFO)
539539
return
540540
end
541541
vim.fn.sign_unplace(session.sign_group)
@@ -544,7 +544,7 @@ local function jump_to_frame(session, frame, preserve_focus_hint, stopped)
544544
end
545545
local bufnr = frame_to_bufnr(session, frame)
546546
if not bufnr then
547-
utils.notify('Source not available, cannot jump to frame', vim.log.levels.INFO)
547+
utils.notify('Source missing, cannot jump to frame: ' .. frame.name, vim.log.levels.INFO)
548548
return
549549
end
550550
vim.fn.bufload(bufnr)

0 commit comments

Comments
 (0)