Skip to content

Commit

Permalink
debugcontroller.py: Add reverse debugging calls
Browse files Browse the repository at this point in the history
  • Loading branch information
giselher committed Mar 27, 2012
1 parent 443f80b commit 6adfe1b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/controllers/debugcontroller.py
Expand Up @@ -71,17 +71,27 @@ def openExecutable(self, filename):
def run(self):
self.connector.setTty(self.ptyhandler.ptyname)
self.connector.run()
# FIXME: Add check or option in settings menu
self.connector.record()
self.lastCmdWasStep = False
self.signalProxy.emitRunClicked()

def next_(self):
self.connector.next_()
self.lastCmdWasStep = True

def reverse_next(self):
self.connector.reverse_next()
self.lastCmdWasStep = True

def step(self):
self.connector.step()
self.lastCmdWasStep = True

def reverse_step(self):
self.connector.reverse_step()
self.lastCmdWasStep = True

def cont(self):
self.connector.cont()
self.lastCmdWasStep = False
Expand Down

0 comments on commit 6adfe1b

Please sign in to comment.