Fix oops on Stop
This commit is contained in:
parent
cd8f35e0f5
commit
bbd4d6b430
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ class DebugSession( object ):
|
||||||
def Stop( self ):
|
def Stop( self ):
|
||||||
self._codeView.Clear()
|
self._codeView.Clear()
|
||||||
|
|
||||||
self._connection.DoRequest( lambda msg: self._CleanUpUi(), {
|
self._connection.DoRequest( None, {
|
||||||
'command': 'disconnect',
|
'command': 'disconnect',
|
||||||
'arguments': {
|
'arguments': {
|
||||||
'terminateDebugee': True
|
'terminateDebugee': True
|
||||||
|
|
@ -202,7 +202,7 @@ class DebugSession( object ):
|
||||||
'command': 'setFunctionBreakpoints',
|
'command': 'setFunctionBreakpoints',
|
||||||
'arguments': {
|
'arguments': {
|
||||||
'breakpoints': [
|
'breakpoints': [
|
||||||
{ 'name': 'main' }
|
{ 'name': 'main' } # HAAACK: TODO: Support setting breakpoints
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
} )
|
} )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue