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

Issue 2180613002: vm-service: Include pauseEvent even when running without debugger support. (Closed)

Created:
4 years, 5 months ago by rmacnak
Modified:
4 years, 5 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org, yjbanov
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

vm-service: Include pauseEvent even when running without debugger support. Pausing the isolate at event boundries, such as --pause-isolates-on-start, doesn't require debugger support. Fix crash in getStack RPC when running the JIT with --support-debugger=false. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/2c7983a1d19cfad9ec335d0d5db07e569ba90346

Patch Set 1 #

Total comments: 2

Patch Set 2 : parens #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -29 lines) Patch
M runtime/observatory/lib/src/service/object.dart View 1 1 chunk +5 lines, -1 line 0 comments Download
M runtime/vm/isolate.cc View 1 2 chunks +30 lines, -25 lines 0 comments Download
M runtime/vm/service.cc View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
rmacnak
4 years, 5 months ago (2016-07-22 23:07:49 UTC) #2
Cutch
lgtm https://codereview.chromium.org/2180613002/diff/1/runtime/vm/isolate.cc File runtime/vm/isolate.cc (right): https://codereview.chromium.org/2180613002/diff/1/runtime/vm/isolate.cc#newcode1947 runtime/vm/isolate.cc:1947: } else if (debugger() != NULL && (debugger() ...
4 years, 5 months ago (2016-07-25 13:53:21 UTC) #3
rmacnak
Committed patchset #2 (id:20001) manually as 2c7983a1d19cfad9ec335d0d5db07e569ba90346 (presubmit successful).
4 years, 5 months ago (2016-07-25 16:24:36 UTC) #5
rmacnak
4 years, 5 months ago (2016-07-25 16:24:40 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2180613002/diff/1/runtime/vm/isolate.cc
File runtime/vm/isolate.cc (right):

https://codereview.chromium.org/2180613002/diff/1/runtime/vm/isolate.cc#newco...
runtime/vm/isolate.cc:1947: } else if (debugger() != NULL &&
On 2016/07/25 13:53:21, Cutch wrote:
> (debugger() != NULL) &&
> (debugger()->PauseEvent() != NULL) &&
> ...

Done.

Powered by Google App Engine
This is Rietveld 408576698