Fix setting of line breakpoints
The problem was simply that I was sending the wrong key for the file path. Sigh. Also update the ms debugger and fix a traceback.
This commit is contained in:
parent
c4aefc110c
commit
4e3abde86d
3 changed files with 7 additions and 3 deletions
|
|
@ -12,13 +12,15 @@
|
|||
"target": "support/test/cpp/simple_c_program/test",
|
||||
"args": [],
|
||||
"cwd": ".",
|
||||
"lldbmipath": "/Users/ben/.vscode/extensions/ms-vscode.cpptools-0.17.1/debugAdapters/lldb/bin/lldb-mi"
|
||||
"lldbmipath": "/Users/ben/.vscode/extensions/ms-vscode.cpptools-0.17.3/debugAdapters/lldb/bin/lldb-mi",
|
||||
"trace": true,
|
||||
"logFilePath": "/Users/ben/.vimspector.protocol.log"
|
||||
}
|
||||
},
|
||||
"simple_c_progra - ms Launch": {
|
||||
"adapter": {
|
||||
"name": "cppdbg",
|
||||
"command": [ "/Users/ben/.vscode/extensions/ms-vscode.cpptools-0.17.1/debugAdapters/OpenDebugAD7" ]
|
||||
"command": [ "/Users/ben/.vscode/extensions/ms-vscode.cpptools-0.17.3/debugAdapters/OpenDebugAD7" ]
|
||||
},
|
||||
"configuration": {
|
||||
"name": "ms Launch",
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ class DebugSession( object ):
|
|||
'arguments': {
|
||||
'source': {
|
||||
'name': os.path.basename( file_name ),
|
||||
'file': file_name,
|
||||
'path': file_name,
|
||||
},
|
||||
'breakpoints': breakpoints,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -104,5 +104,7 @@ def SelectFromList( prompt, options ):
|
|||
if selection < 0 or selection >= len( options ):
|
||||
return None
|
||||
return options[ selection ]
|
||||
except KeyboardInterrupt:
|
||||
return None
|
||||
finally:
|
||||
vim.eval( 'inputrestore()' )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue