Updates for latest Python debug adapter
They moved the location of the main application. But also: - ignore multiple responses for the same request - ignore protocol violations for variablesReference (assume 0) - ignore protocol violations for missing 'name' (assume basename of path)
This commit is contained in:
parent
14603ae72f
commit
673de95283
8 changed files with 43 additions and 15 deletions
|
|
@ -516,6 +516,19 @@ class DebugSession( object ):
|
|||
|
||||
self._connection.DoResponse( message, None, response )
|
||||
|
||||
def OnEvent_exited( self, message ):
|
||||
utils.UserMessage( 'The debugee exited with status code: {}'.format(
|
||||
message[ 'body' ][ 'exitCode' ] ) )
|
||||
|
||||
def OnEvent_process( self, message ):
|
||||
utils.UserMessage( 'The debugee was started: {}'.format(
|
||||
message[ 'body' ][ 'name' ] ) )
|
||||
|
||||
def OnEvent_module( self, message ):
|
||||
pass
|
||||
|
||||
def OnEvent_continued( self, message ):
|
||||
pass
|
||||
|
||||
def Clear( self ):
|
||||
self._codeView.Clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue