Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1088)

Issue 160012: DevTools: make pause work for script evaluations (Closed)

Created:
11 years, 5 months ago by yurys
Modified:
9 years, 7 months ago
Reviewers:
pfeldman
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

DevTools: split console evaluation into two steps: actual evaluation and result wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21525

Patch Set 1 #

Total comments: 9

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -29 lines) Patch
M chrome/browser/debugger/devtools_sanity_unittest.cc View 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/devtools/debugger_agent_impl.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/glue/devtools/debugger_agent_impl.cc View 1 2 3 4 5 6 2 chunks +58 lines, -0 lines 2 comments Download
M webkit/glue/devtools/debugger_agent_manager.h View 1 2 2 chunks +20 lines, -0 lines 0 comments Download
M webkit/glue/devtools/debugger_agent_manager.cc View 1 2 3 3 chunks +29 lines, -9 lines 0 comments Download
M webkit/glue/devtools/js/devtools.js View 1 2 3 1 chunk +12 lines, -9 lines 0 comments Download
M webkit/glue/devtools/js/inject.js View 1 2 3 4 5 6 2 chunks +12 lines, -11 lines 0 comments Download
M webkit/glue/devtools/js/tests.js View 1 2 1 chunk +23 lines, -0 lines 1 comment Download
M webkit/glue/devtools/tools_agent.h View 2 chunks +7 lines, -0 lines 0 comments Download
M webkit/glue/webdevtoolsagent_impl.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/glue/webdevtoolsagent_impl.cc View 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
yurys
11 years, 5 months ago (2009-07-23 15:17:10 UTC) #1
pfeldman
http://codereview.chromium.org/160012/diff/1/5 File webkit/glue/devtools/debugger_agent_impl.h (right): http://codereview.chromium.org/160012/diff/1/5#newcode60 Line 60: WebCore::String Evaluate( So who calls this one? http://codereview.chromium.org/160012/diff/1/2 ...
11 years, 5 months ago (2009-07-23 15:47:04 UTC) #2
yurys
http://codereview.chromium.org/160012/diff/1/5 File webkit/glue/devtools/debugger_agent_impl.h (right): http://codereview.chromium.org/160012/diff/1/5#newcode60 Line 60: WebCore::String Evaluate( On 2009/07/23 15:47:04, pfeldman wrote: > ...
11 years, 5 months ago (2009-07-24 07:21:04 UTC) #3
pfeldman
LGTM with comments. I know you will change it before submitting anyway :) http://codereview.chromium.org/160012/diff/1002/24 File ...
11 years, 5 months ago (2009-07-24 10:43:59 UTC) #4
yurys
http://codereview.chromium.org/160012/diff/1002/24 File webkit/glue/devtools/debugger_agent_manager.cc (right): http://codereview.chromium.org/160012/diff/1002/24#newcode214 Line 214: if (in_utility_context_) { On 2009/07/24 10:43:59, pfeldman wrote: ...
11 years, 5 months ago (2009-07-24 12:35:56 UTC) #5
pfeldman
LGTM with comments http://codereview.chromium.org/160012/diff/1066/96 File webkit/glue/devtools/debugger_agent_impl.cc (right): http://codereview.chromium.org/160012/diff/1066/96#newcode200 Line 200: v8::Handle<v8::Context> v8Context = V8Proxy::context(GetPage()->mainFrame()); 80 ...
11 years, 5 months ago (2009-07-27 07:50:14 UTC) #6
yurys
11 years, 5 months ago (2009-07-27 07:52:05 UTC) #7
http://codereview.chromium.org/160012/diff/1066/96
File webkit/glue/devtools/debugger_agent_impl.cc (right):

http://codereview.chromium.org/160012/diff/1066/96#newcode200
Line 200: v8::Handle<v8::Context> v8Context =
V8Proxy::context(GetPage()->mainFrame());
On 2009/07/27 07:50:15, pfeldman wrote:
> 80 chars

Done.

Powered by Google App Engine
This is Rietveld 408576698