diff options
Diffstat (limited to 'Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_evaluate_statement.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_evaluate_statement.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_evaluate_statement.go b/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_evaluate_statement.go index 7be158487..e16c6ac6c 100644 --- a/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_evaluate_statement.go +++ b/Godeps/_workspace/src/github.com/robertkrimen/otto/cmpl_evaluate_statement.go @@ -47,6 +47,9 @@ func (self *_runtime) cmpl_evaluate_nodeStatement(node _nodeStatement) Value { } case *_nodeDebuggerStatement: + if self.debugger != nil { + self.debugger(self.otto) + } return emptyValue // Nothing happens. case *_nodeDoWhileStatement: |