Skip to content

Commit 76a37be

Browse files
committed
2010-04-28 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Pavel Feldman. Fixed passing breakpoints to V8. https://bugs.webkit.org/show_bug.cgi?id=38266 * src/js/InspectorControllerImpl.js: (.devtools.InspectorBackendImpl.prototype.setBreakpoint): Canonical link: https://commits.webkit.org/49683@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@58413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent f9a5b6d commit 76a37be

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

WebKit/chromium/ChangeLog

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2010-04-28 Andrey Kosyakov <caseq@chromium.org>
2+
3+
Reviewed by Pavel Feldman.
4+
5+
Fixed passing breakpoints to V8.
6+
https://bugs.webkit.org/show_bug.cgi?id=38266
7+
8+
* src/js/InspectorControllerImpl.js:
9+
(.devtools.InspectorBackendImpl.prototype.setBreakpoint):
10+
111
2010-04-28 Yury Semikhatsky <yurys@chromium.org>
212

313
Reviewed by Pavel Feldman.

WebKit/chromium/src/js/InspectorControllerImpl.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ if (!window.v8ScriptDebugServerEnabled) {
128128
devtools.InspectorBackendImpl.prototype.setBreakpoint = function(sourceID, line, enabled, condition)
129129
{
130130
this.removeBreakpoint(sourceID, line);
131-
if (enabled)
132-
devtools.tools.getDebuggerAgent().addBreakpoint(sourceID, line, condition);
131+
devtools.tools.getDebuggerAgent().addBreakpoint(sourceID, line, enabled, condition);
133132
};
134133

135134

0 commit comments

Comments
 (0)