X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=DbgTerminal.py;h=9d08866820acc3083048b589c78f4b54eacc30f2;hp=aa04b3d7900e8f6e721a615f4b982211db5dc4c7;hb=HEAD;hpb=379760912de740354f07f223b308d5092c0700ad diff --git a/DbgTerminal.py b/DbgTerminal.py index aa04b3d..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() @@ -238,10 +246,6 @@ def quitHandler(*w): pass -def updateVim(): - os.system('gvim --servername pygdb --remote-send " :GDBLoadConfig"') - - def relToAbsPath(absfile, relfile): """When an absfile is given and a relfile is given by relative paths relative to absfile, determine the abs