RESOLVED FIXED 40289
Web Inspector: v8 debugger should always be enabled when frontend is attached.
https://bugs.webkit.org/show_bug.cgi?id=40289
Summary Web Inspector: v8 debugger should always be enabled when frontend is attached.
Pavel Podivilov
Reported 2010-06-08 02:51:35 PDT
Web Inspector: v8 debugger should always be enabled when frontend is attached.
Attachments
Proposed patch. (8.84 KB, patch)
2010-06-08 03:15 PDT, Pavel Podivilov
no flags
Proposed patch. (8.84 KB, patch)
2010-06-08 03:30 PDT, Pavel Podivilov
yurys: review-
Proposed patch. (9.38 KB, patch)
2010-06-09 03:20 PDT, Pavel Podivilov
no flags
Proposed patch. (9.38 KB, patch)
2010-06-09 03:30 PDT, Pavel Podivilov
no flags
Proposed patch. (deleted)
2010-06-09 03:35 PDT, Pavel Podivilov
no flags
Proposed patch. (9.49 KB, patch)
2010-06-09 07:24 PDT, Pavel Podivilov
no flags
Proposed patch. (9.50 KB, patch)
2010-06-09 07:35 PDT, Pavel Podivilov
no flags
Pavel Podivilov
Comment 1 2010-06-08 03:15:13 PDT
Created attachment 58127 [details] Proposed patch.
WebKit Review Bot
Comment 2 2010-06-08 03:16:21 PDT
Attachment 58127 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebKit/chromium/ChangeLog:5: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Podivilov
Comment 3 2010-06-08 03:30:37 PDT
Created attachment 58128 [details] Proposed patch.
Yury Semikhatsky
Comment 4 2010-06-09 02:06:44 PDT
Comment on attachment 58128 [details] Proposed patch. WebKit/chromium/src/WebDevToolsAgentImpl.cpp:465 + WebCString debuggerScriptJs = m_client->debuggerScriptSource(); Please surround it with #if ENABLE(V8_SCRIPT_DEBUG_SERVER) guard, otherwise looks good.
Yury Semikhatsky
Comment 5 2010-06-09 02:13:22 PDT
Comment on attachment 58128 [details] Proposed patch. DebuggerScript.js should be excluded from devtools.html script list. r- for that
Pavel Podivilov
Comment 6 2010-06-09 03:20:18 PDT
Created attachment 58230 [details] Proposed patch.
WebKit Review Bot
Comment 7 2010-06-09 03:24:29 PDT
Attachment 58230 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/ChangeLog:2: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. WebKit/chromium/ChangeLog:3: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 11 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Podivilov
Comment 8 2010-06-09 03:30:22 PDT
Created attachment 58231 [details] Proposed patch.
WebKit Review Bot
Comment 9 2010-06-09 03:31:48 PDT
Attachment 58231 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/ChangeLog:2: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. WebKit/chromium/ChangeLog:3: One or more unexpected \r (^M) found; better to use only a \n [whitespace/carriage_return] [1] Suppressing further [whitespace/carriage_return] reports for this file. Total errors found: 11 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Podivilov
Comment 10 2010-06-09 03:35:21 PDT
Created attachment 58232 [details] Proposed patch.
Yury Semikhatsky
Comment 11 2010-06-09 04:48:34 PDT
Comment on attachment 58232 [details] Proposed patch. WebCore/inspector/InspectorController.cpp:439 + enableDebuggerFromFrontend(false); This will cause all parsed scripts to be pushed to the frontend along with their content. It may be quite expensive and currently we don't send the sources until ScriptsPanel is shown. We should come up with something smarter here.
Yury Semikhatsky
Comment 12 2010-06-09 06:17:40 PDT
(In reply to comment #11) > (From update of attachment 58232 [details]) > WebCore/inspector/InspectorController.cpp:439 > + enableDebuggerFromFrontend(false); > This will cause all parsed scripts to be pushed to the frontend along with their content. It may be quite expensive and currently we don't send the sources until ScriptsPanel is shown. We should come up with something smarter here. Please file a bug on this and put it as a FIXME at that line. We'll fix this in a separate change.
Pavel Podivilov
Comment 13 2010-06-09 07:24:30 PDT
Created attachment 58243 [details] Proposed patch.
WebKit Review Bot
Comment 14 2010-06-09 07:28:11 PDT
Attachment 58243 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebCore/inspector/InspectorController.cpp:442: An else should appear on the same line as the preceding } [whitespace/newline] [4] Total errors found: 1 in 10 files If any of these errors are false positives, please file a bug against check-webkit-style.
Pavel Podivilov
Comment 15 2010-06-09 07:35:36 PDT
Created attachment 58244 [details] Proposed patch.
Yury Semikhatsky
Comment 16 2010-06-09 08:00:54 PDT
Comment on attachment 58244 [details] Proposed patch. Clearing flags on attachment: 58244 Committed r60893: <http://trac.webkit.org/changeset/60893>
Yury Semikhatsky
Comment 17 2010-06-09 08:01:06 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 18 2010-06-09 08:27:08 PDT
http://trac.webkit.org/changeset/60893 might have broken GTK Linux 64-bit Debug
Note You need to log in before you can comment on or make changes to this bug.