While debugging, use the correct path for breakpoints
This commit is contained in:
parent
d1bfe18e18
commit
bd09206caf
8 changed files with 203 additions and 8 deletions
21
support/test/python/multiple_files/.vimspector.json
Normal file
21
support/test/python/multiple_files/.vimspector.json
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"configurations": {
|
||||
"run": {
|
||||
"adapter": "debugpy",
|
||||
"default": true,
|
||||
"configuration": {
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/moo.py",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"stopOnEntry": true
|
||||
},
|
||||
"breakpoints": {
|
||||
"exception": {
|
||||
"raised": "N",
|
||||
"uncaught": "",
|
||||
"userUnhandled": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
support/test/python/multiple_files/cow.py
Normal file
15
support/test/python/multiple_files/cow.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
def Say( *args, **kwargs ):
|
||||
print( *args, **kwargs )
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
def Quiet():
|
||||
pass
|
||||
13
support/test/python/multiple_files/moo.py
Normal file
13
support/test/python/multiple_files/moo.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import cow
|
||||
|
||||
|
||||
def Moo():
|
||||
for i in range( 1, 100 ):
|
||||
cow.Say( 'Moo' )
|
||||
|
||||
for i in range( 1, 100 ):
|
||||
cow.Say( 'Ooom' )
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
Moo()
|
||||
Loading…
Add table
Add a link
Reference in a new issue