Skip to content

Commit

Permalink
There is no reason for terminated event
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Jackson committed Feb 1, 2019
1 parent 82605c8 commit ed382a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python3/vimspector/debug_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,10 +574,8 @@ def Clear( self ):
self._variablesView.Clear()

def OnEvent_terminated( self, message ):
utils.UserMessage( "The program was terminated because: {0}".format(
message.get( 'body', {} ).get( 'reason', "No specific reason" ) ) )

self.Clear()
utils.UserMessage( "Debugging was terminated." )

def _RemoveBreakpoints( self ):
for breakpoints in self._line_breakpoints.values():
Expand Down

0 comments on commit ed382a9

Please sign in to comment.