X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=DbgTerminal.py;h=afeca3de2d2cf1cccbddbbc3c0477d661782c056;hb=e71fe82b3b12b0fe1092e2a26f9ff8887c001ece;hp=f69d8036fc8e5c3785903acb21f081a823ce268d;hpb=e8f5eba24b3fd5cdd839bcfc170a2e3aa16dd05d;p=pygdb.git diff --git a/DbgTerminal.py b/DbgTerminal.py index f69d803..afeca3d 100644 --- a/DbgTerminal.py +++ b/DbgTerminal.py @@ -81,8 +81,8 @@ class DbgTerminal (vte.Terminal): print "got inactive: ", res for cb in self.gotInactiveCallback: cb(status, param) - except: - pass + except Exception, e: + print e return True @@ -193,6 +193,9 @@ class DbgTerminal (vte.Terminal): def getExpression(self, expr): raise NotImplementedError() + def listCodeSnippet(self): + raise NotImplementedError() + def waitForPrompt(self, his): raise NotImplementedError()