X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=DbgTerminal.py;h=9d08866820acc3083048b589c78f4b54eacc30f2;hp=5cc7b279e5e41f636c05ee8c95967a38309fe4e1;hb=HEAD;hpb=ae13f1cd2401475e1fc58be3418fb349cd69fb98 diff --git a/DbgTerminal.py b/DbgTerminal.py index 5cc7b27..9d08866 100644 --- a/DbgTerminal.py +++ b/DbgTerminal.py @@ -100,6 +100,8 @@ class DbgTerminal (vte.Terminal): for cb in self.gotInactiveCallback: cb(status, param) except Exception, e: + import traceback + traceback.print_exc() print e return True @@ -199,6 +201,9 @@ class DbgTerminal (vte.Terminal): def setStepin(self): raise NotImplementedError() + def setStepout(self): + raise NotImplementedError() + def setQuit(self): raise NotImplementedError() @@ -214,6 +219,9 @@ class DbgTerminal (vte.Terminal): def listCodeSnippet(self): raise NotImplementedError() + def getBacktrace(self): + raise NotImplementedError() + def waitForPrompt(self, his): raise NotImplementedError() @@ -237,6 +245,7 @@ def quitHandler(*w): except: pass + def relToAbsPath(absfile, relfile): """When an absfile is given and a relfile is given by relative paths relative to absfile, determine the abs