We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6d484 commit 92841ceCopy full SHA for 92841ce
autoload/OmniSharp/testrunner.vim
@@ -248,6 +248,14 @@ function! OmniSharp#testrunner#SetBreakpoints() abort
248
echohl None
249
return
250
endif
251
+ let line = getline('.')
252
+ " Stack trace with valid location (filename and possible line number)
253
+ let parsed = matchlist(line, '^> \+__ .* ___ \(.*\) __ \%(line \(\d\+\)\)\?$')
254
+ if len(parsed) && parsed[2] !=# ''
255
+ call vimspector#SetLineBreakpoint(parsed[1], str2nr(parsed[2]))
256
+ echomsg 'Break point set'
257
+ return
258
+ endif
259
let test = s:utils.findTest()
260
if !has_key(test, 'stacktrace')
261
echo 'No breakpoints added'
0 commit comments