diff --git a/trepan/processor/command/continue.py b/trepan/processor/command/continue.py index 5ebf5844..aa006f10 100644 --- a/trepan/processor/command/continue.py +++ b/trepan/processor/command/continue.py @@ -52,7 +52,7 @@ class ContinueCommand(DebuggerCommand): def run(self, args): if len(args) > 1: # FIXME: DRY this code. Better is to hook into tbreak. - func, filename, lineno, condition = parse_break_cmd(self.proc, args) + func, filename, lineno, condition, offset = parse_break_cmd(self.proc, args) if not set_break(self, func, filename, lineno, condition, True, args): return False self.core.step_events = None # All events diff --git a/trepan/processor/command/tbreak.py b/trepan/processor/command/tbreak.py index 7fdda71a..16e85fd2 100644 --- a/trepan/processor/command/tbreak.py +++ b/trepan/processor/command/tbreak.py @@ -66,7 +66,7 @@ class TempBreakCommand(DebuggerCommand): complete = complete_break_linenumber def run(self, args): - func, filename, lineno, condition = parse_break_cmd(self.proc, args) + func, filename, lineno, condition, offset = parse_break_cmd(self.proc, args) if not (func == None and filename == None): set_break(self, func, filename, lineno, condition, True, args)