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

Issue 489005: Implement "wait for connection" feature (Closed)

Created:
11 years ago by Peter Rybin
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Implement "wait for connection" feature

Patch Set 1 #

Patch Set 2 : add debug::debugbreak #

Total comments: 4

Patch Set 3 : follow codereview #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -5 lines) Patch
M include/v8-debug.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/api.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/debug.h View 1 chunk +1 line, -1 line 0 comments Download
M src/debug.cc View 1 2 1 chunk +18 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Peter Rybin
Hi Soren I'm putting "wait for connection" feature separately into this CL. > I am ...
11 years ago (2009-12-10 21:31:14 UTC) #1
Peter Rybin
> > Should the debug break flag be raised to > > ensure that a ...
11 years ago (2009-12-10 22:04:48 UTC) #2
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/489005/diff/3001/4003 File src/debug.cc (right): http://codereview.chromium.org/489005/diff/3001/4003#newcode2487 src/debug.cc:2487: // Simply ignore message. Maybe this should be ...
11 years ago (2009-12-11 09:45:52 UTC) #3
Peter Rybin
11 years ago (2009-12-11 11:30:13 UTC) #4
http://codereview.chromium.org/489005/diff/3001/4003
File src/debug.cc (right):

http://codereview.chromium.org/489005/diff/3001/4003#newcode2487
src/debug.cc:2487: // Simply ignore message.
On 2009/12/11 09:45:52, Søren Gjesse wrote:
> Maybe this should be extended to keep all messages (or block on the first) for
> the debugger when it connects in a future changelist.

Fair enough.
On the other hand I don't see a use case for this now. Remote debugger should be
able to attach just in any moment without needing update on all previous
messages.

http://codereview.chromium.org/489005/diff/3001/4003#newcode2493
src/debug.cc:2493: if (wait_for_connection) {
On 2009/12/11 09:45:52, Søren Gjesse wrote:
> You should rephrase this comment to say that a break is actually set.

Done.

Powered by Google App Engine
This is Rietveld 408576698