Add a reset command to undo all the UI and reset everything

This commit is contained in:
Ben Jackson 2018-05-27 21:34:44 +01:00
commit 7600e1e652
7 changed files with 98 additions and 9 deletions

View file

@ -38,6 +38,10 @@ class StackTraceView( object ):
self.Clear()
self._connection = None
def Reset( self ):
self.Clear()
# TODO: delete the buffer ?
def LoadStackTrace( self, thread_id ):
self._connection.DoRequest( self._PrintStackTrace, {
'command': 'stackTrace',