Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include frame name in "Source missing" info messages #1313

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading