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

vimspector config for ClearLineBreakpoint #21

Open
GuokaiLiu opened this issue Feb 23, 2021 · 0 comments
Open

vimspector config for ClearLineBreakpoint #21

GuokaiLiu opened this issue Feb 23, 2021 · 0 comments
Assignees

Comments

@GuokaiLiu
Copy link

GuokaiLiu commented Feb 23, 2021

Hi, ThePrimeagen
Thanks for your great work : )

It seems that Vimspector has renamed the command for cleaning (clean ---> clear) the breakpoints.

Use vimspector#ClearLineBreakpoint( file_name, line_num ) to remove a breakpoint at a specific file/line
Use vimspector#ClearBreakpoints() to clear all breakpoints

So, I hope the following will help those who meet the same problem for clearing the breakpoints.
nnoremap <leader>dtcb :call vimspector#ClearBreakpoints()<CR>

As a freshman in Vim world, any config suggestion for vimspector#ClearLineBreakpoint( file_name, line_num )?
Thank you very much : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants