[Pkg-mozext-commits] [firebug] 27/35: Check breakpoint existence (related to issue 7470)

David Prévot taffit at moszumanska.debian.org
Sat May 24 14:54:29 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firebug.

commit b05900517ed2e0b20bc468616086ac00019c9d6c
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Fri May 23 07:59:25 2014 +0200

    Check breakpoint existence (related to issue 7470)
---
 extension/content/firebug/debugger/breakpoints/breakpointTool.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/debugger/breakpoints/breakpointTool.js b/extension/content/firebug/debugger/breakpoints/breakpointTool.js
index 807c49f..74386c3 100644
--- a/extension/content/firebug/debugger/breakpoints/breakpointTool.js
+++ b/extension/content/firebug/debugger/breakpoints/breakpointTool.js
@@ -357,7 +357,7 @@ BreakpointTool.prototype = Obj.extend(new Tool(),
             var location = {
                 url: url,
                 line: lineNumber + 1,
-                condition: bp.condition,
+                condition: bp ? bp.condition : null,
             };
 
             Trace.sysout("breakpointTool.doSetBreakpoint; (" + lineNumber + ")", location);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list