mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
vim-patch:8.2.3026: Vim9: cannot set breakpoint in compiled function
Problem: Vim9: cannot set breakpoint in compiled function.
Solution: Check for breakpoint when calling a function.
4f8f54280f
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -550,7 +550,7 @@ static int dbg_parsearg(char *arg, garray_T *gap)
|
||||
}
|
||||
|
||||
if (bp->dbg_type == DBG_FUNC) {
|
||||
bp->dbg_name = xstrdup(p);
|
||||
bp->dbg_name = xstrdup(strncmp(p, "g:", 2) == 0 ? p + 2 : p);
|
||||
} else if (here) {
|
||||
bp->dbg_name = xstrdup(curbuf->b_ffname);
|
||||
} else if (bp->dbg_type == DBG_EXPR) {
|
||||
|
Reference in New Issue
Block a user