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

Issue 2632183002: Debugging in kernel shaping up. (Closed)

Created:
3 years, 11 months ago by jensj
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Debugging in kernel shaping up. This introduces - a list of valid token positions, so debugging actually starts to work, and the observatory can be loaded without crash. - a list of valid yield positions, so stepping over await stuff works as expected. - Adding "DebugStepCheckInstr" to the kernel generated il so stepping over await stuff works as expected, we can break in empty methods etc. With this, approximately 80% of the service tests pass in kernel mode. R=kmillikin@google.com Committed: https://github.com/dart-lang/sdk/commit/2d5147be9d7435c06dd892d145d8717b6d1f62d5 Committed: https://github.com/dart-lang/sdk/commit/e7766c950eafabfd631d693902483a13bf3bfac7

Patch Set 1 #

Total comments: 30

Patch Set 2 : Changes based on feedback #

Patch Set 3 : Changed to kMaxInt32 #

Total comments: 1

Patch Set 4 : Changed to TokenPosition::kMaxSourcePos #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -21 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/debugger.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/kernel.h View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/kernel.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
M runtime/vm/kernel_binary.cc View 1 2 6 chunks +41 lines, -6 lines 0 comments Download
M runtime/vm/kernel_reader.cc View 1 2 2 chunks +49 lines, -0 lines 0 comments Download
M runtime/vm/kernel_to_il.cc View 1 2 4 chunks +64 lines, -3 lines 0 comments Download
M runtime/vm/object.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 3 chunks +41 lines, -8 lines 0 comments Download
M runtime/vm/object_service.cc View 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
jensj
3 years, 11 months ago (2017-01-16 09:51:07 UTC) #2
jensj
ping.
3 years, 11 months ago (2017-01-24 07:30:41 UTC) #3
Kevin Millikin (Google)
I wonder if the debug-step checks are in the right places. Can you verify that ...
3 years, 11 months ago (2017-01-24 13:44:13 UTC) #4
jensj
PTAL. In regards to the debug-step checks I suggest that we either leave them as-is ...
3 years, 10 months ago (2017-01-25 12:52:22 UTC) #5
jensj
ping.
3 years, 10 months ago (2017-01-31 09:01:36 UTC) #6
Kevin Millikin (Google)
LGTM.
3 years, 10 months ago (2017-01-31 09:14:01 UTC) #7
jensj
Committed patchset #2 (id:20001) manually as 2d5147be9d7435c06dd892d145d8717b6d1f62d5 (presubmit successful).
3 years, 10 months ago (2017-01-31 10:01:37 UTC) #9
jensj
Do we think it can compile now? (the delta sucks because i rebased)
3 years, 10 months ago (2017-01-31 10:34:04 UTC) #11
Kevin Millikin (Google)
LGTM with the change I've noted. https://codereview.chromium.org/2632183002/diff/40001/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2632183002/diff/40001/runtime/vm/object.cc#newcode8877 runtime/vm/object.cc:8877: intptr_t end = ...
3 years, 10 months ago (2017-01-31 10:40:37 UTC) #12
jensj
3 years, 10 months ago (2017-01-31 10:59:14 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
e7766c950eafabfd631d693902483a13bf3bfac7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698