test and doc updates for conditional breakpoints
use a better description of hit condition and describe the options dict.
This commit is contained in:
parent
e153b9536e
commit
77dc400077
5 changed files with 218 additions and 9 deletions
|
|
@ -45,8 +45,8 @@ nnoremap <Plug>VimspectorToggleBreakpoint
|
|||
\ :<c-u>call vimspector#ToggleBreakpoint()<CR>
|
||||
nnoremap <Plug>VimspectorToggleConditionalBreakpoint
|
||||
\ :<c-u>call vimspector#ToggleBreakpoint(
|
||||
\ { 'condition': input( 'Enter condition: ' ),
|
||||
\ 'hitCondition': input( 'Enter hit condition: ' ) }
|
||||
\ { 'condition': input( 'Enter condition expression: ' ),
|
||||
\ 'hitCondition': input( 'Enter hit count expression: ' ) }
|
||||
\ )<CR>
|
||||
nnoremap <Plug>VimspectorAddFunctionBreakpoint
|
||||
\ :<c-u>call vimspector#AddFunctionBreakpoint( expand( '<cexpr>' ) )<CR>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue