Index: src/debug-debugger.js |
diff --git a/src/debug-debugger.js b/src/debug-debugger.js |
index c296e422d842e14a9f180d1bbd9fecd034a4d176..59a113c54d5a40113ec4bb0e63dda3559c639de6 100644 |
--- a/src/debug-debugger.js |
+++ b/src/debug-debugger.js |
@@ -327,7 +327,7 @@ ScriptBreakPoint.prototype.matchesScript = function(script) { |
if (this.type_ == Debug.ScriptBreakPointType.ScriptId) { |
return this.script_id_ == script.id; |
} else { // this.type_ == Debug.ScriptBreakPointType.ScriptName |
- return this.script_name_ == script.name && |
+ return this.script_name_ == script.nameOrSourceURL() && |
script.line_offset <= this.line_ && |
this.line_ < script.line_offset + script.lineCount(); |
} |