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

Issue 116223006: Fix setting breakpoint in non-finalized class (Closed)

Created:
6 years, 11 months ago by hausner
Modified:
6 years, 11 months ago
Reviewers:
Jacob, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix setting breakpoint in non-finalized class. This fixes issue 15870 Also added test case and verified manually that test case fails before this fix. R=iposva@google.com, jacobr@google.com Committed: https://code.google.com/p/dart/source/detail?r=31449

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -7 lines) Patch
M runtime/vm/debugger.cc View 1 2 chunks +17 lines, -2 lines 2 comments Download
M tests/standalone/debugger/local_function_test.dart View 1 2 chunks +31 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Jacob
This fixes the dartium test failure as well.
6 years, 11 months ago (2014-01-03 01:47:18 UTC) #1
hausner
Thank you.
6 years, 11 months ago (2014-01-03 17:56:18 UTC) #2
hausner
6 years, 11 months ago (2014-01-03 19:51:53 UTC) #3
Ivan Posva
LGTM -ip https://codereview.chromium.org/116223006/diff/40001/runtime/vm/debugger.cc File runtime/vm/debugger.cc (right): https://codereview.chromium.org/116223006/diff/40001/runtime/vm/debugger.cc#newcode1495 runtime/vm/debugger.cc:1495: cls.EnsureIsFinalized(isolate_); What happens if there is a ...
6 years, 11 months ago (2014-01-03 20:21:13 UTC) #4
Jacob
lgtm
6 years, 11 months ago (2014-01-03 20:37:59 UTC) #5
hausner
Committed patchset #2 manually as r31449 (presubmit successful).
6 years, 11 months ago (2014-01-03 20:50:36 UTC) #6
hausner
6 years, 11 months ago (2014-01-03 20:52:52 UTC) #7
Message was sent while issue was closed.
Thank you.

https://codereview.chromium.org/116223006/diff/40001/runtime/vm/debugger.cc
File runtime/vm/debugger.cc (right):

https://codereview.chromium.org/116223006/diff/40001/runtime/vm/debugger.cc#n...
runtime/vm/debugger.cc:1495: cls.EnsureIsFinalized(isolate_);
On 2014/01/03 20:21:13, Ivan Posva wrote:
> What happens if there is a compilation failure during the compilation? We
should
> probably drop the compilation failure on the floor and wait for some other
code
> to run into it again.

The compilation error gets dropped and the class remains unfinalized. It appears
to have no class members. When the program later references the class, it will
produce an appropriate compilation error.

Powered by Google App Engine
This is Rietveld 408576698