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

Issue 2962007: Debugger: introduce parametrized debug break. (Closed)

Created:
10 years, 5 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Debugger: introduce parametrized debug break, the parameter is passed back to EventListener to be able to dynamically specify behavior on asynchronously enforced VM breakouts. Committed: http://code.google.com/p/v8/source/detail?r=5063

Patch Set 1 #

Total comments: 3

Patch Set 2 : Reworked #

Total comments: 4

Patch Set 3 : Comments addressed #

Total comments: 2

Patch Set 4 : Comments addressed #

Total comments: 2

Patch Set 5 : Comments addressed #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -36 lines) Patch
M include/v8-debug.h View 1 3 chunks +15 lines, -1 line 0 comments Download
M src/api.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/debug.h View 1 2 3 4 chunks +24 lines, -5 lines 0 comments Download
M src/debug.cc View 1 2 3 4 6 chunks +86 lines, -30 lines 2 comments Download
M test/cctest/test-debug.cc View 1 2 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mnaganov (inactive)
10 years, 5 months ago (2010-07-12 09:51:41 UTC) #1
yurys
http://codereview.chromium.org/2962007/diff/1/2 File include/v8-debug.h (right): http://codereview.chromium.org/2962007/diff/1/2#newcode258 include/v8-debug.h:258: static void DebugBreak(void* data = NULL); It becomes non-deterministic, ...
10 years, 5 months ago (2010-07-12 10:38:19 UTC) #2
mnaganov (inactive)
I reworked the code to reuse CommandQueue
10 years, 5 months ago (2010-07-13 09:38:20 UTC) #3
yurys
http://codereview.chromium.org/2962007/diff/7001/9 File include/v8-debug.h (right): http://codereview.chromium.org/2962007/diff/7001/9#newcode263 include/v8-debug.h:263: static void DebugBreakForCommand(ClientData* data = NULL); You will end ...
10 years, 5 months ago (2010-07-13 09:50:42 UTC) #4
mnaganov (inactive)
http://codereview.chromium.org/2962007/diff/7001/9 File include/v8-debug.h (right): http://codereview.chromium.org/2962007/diff/7001/9#newcode263 include/v8-debug.h:263: static void DebugBreakForCommand(ClientData* data = NULL); On 2010/07/13 09:50:42, ...
10 years, 5 months ago (2010-07-13 10:07:32 UTC) #5
yurys
http://codereview.chromium.org/2962007/diff/12001/13003 File src/debug.cc (right): http://codereview.chromium.org/2962007/diff/12001/13003#newcode2237 src/debug.cc:2237: !event_listener_.is_null() && event_listener_->IsProxy(); I don't see why you should ...
10 years, 5 months ago (2010-07-13 10:38:22 UTC) #6
mnaganov (inactive)
http://codereview.chromium.org/2962007/diff/12001/13003 File src/debug.cc (right): http://codereview.chromium.org/2962007/diff/12001/13003#newcode2237 src/debug.cc:2237: !event_listener_.is_null() && event_listener_->IsProxy(); On 2010/07/13 10:38:22, Yury Semikhatsky wrote: ...
10 years, 5 months ago (2010-07-13 12:52:27 UTC) #7
yurys
http://codereview.chromium.org/2962007/diff/17001/18003 File src/debug.cc (right): http://codereview.chromium.org/2962007/diff/17001/18003#newcode2275 src/debug.cc:2275: Handle<Object> result = Execution::TryCall(fun, Top::global(), Please remove unused parameter.
10 years, 5 months ago (2010-07-13 13:03:26 UTC) #8
yurys
I am not fond of DebugBreakForCommand implementation, I don't see how to implement it in ...
10 years, 5 months ago (2010-07-13 13:07:27 UTC) #9
mnaganov (inactive)
http://codereview.chromium.org/2962007/diff/17001/18003 File src/debug.cc (right): http://codereview.chromium.org/2962007/diff/17001/18003#newcode2275 src/debug.cc:2275: Handle<Object> result = Execution::TryCall(fun, Top::global(), On 2010/07/13 13:03:26, Yury ...
10 years, 5 months ago (2010-07-13 13:08:12 UTC) #10
yurys
Mads, can you take a look at this change?
10 years, 5 months ago (2010-07-13 14:19:37 UTC) #11
Mads Ager (chromium)
LGTM http://codereview.chromium.org/2962007/diff/21001/22003 File src/debug.cc (right): http://codereview.chromium.org/2962007/diff/21001/22003#newcode2250 src/debug.cc:2250: v8::Debug::EventCallback2 callback = Hmm, is this a transition ...
10 years, 5 months ago (2010-07-13 17:07:31 UTC) #12
yurys
10 years, 5 months ago (2010-07-14 07:01:03 UTC) #13
http://codereview.chromium.org/2962007/diff/21001/22003
File src/debug.cc (right):

http://codereview.chromium.org/2962007/diff/21001/22003#newcode2250
src/debug.cc:2250: v8::Debug::EventCallback2 callback =
On 2010/07/13 17:07:31, Mads Ager wrote:
> Hmm, is this a transition name? Are we getting close to getting rid of it?

EventCallback2 and MessageHandler2 were meant to be transition names. But then
we were hesitant to remove them because it might break existing clients. We
probably should get rid of them now.

Powered by Google App Engine
This is Rietveld 408576698