Skip to content

Commit

Permalink
Include frame name in "Source missing" info messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Aug 9, 2024
1 parent cef212e commit 2a61978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/dap/session.lua
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ end
local function jump_to_frame(session, frame, preserve_focus_hint, stopped)
local source = frame.source
if not source then
utils.notify('Source not available, cannot jump to frame', vim.log.levels.INFO)
utils.notify('Source missing, cannot jump to frame: ' .. frame.name, vim.log.levels.INFO)
return
end
vim.fn.sign_unplace(session.sign_group)
Expand All @@ -544,7 +544,7 @@ local function jump_to_frame(session, frame, preserve_focus_hint, stopped)
end
local bufnr = frame_to_bufnr(session, frame)
if not bufnr then
utils.notify('Source not available, cannot jump to frame', vim.log.levels.INFO)
utils.notify('Source missing, cannot jump to frame: ' .. frame.name, vim.log.levels.INFO)
return
end
vim.fn.bufload(bufnr)
Expand Down

0 comments on commit 2a61978

Please sign in to comment.