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

Issue 12218046: Add unit tests which reliabily reproduces the error condition reported in Issue 6080 without the ne… (Closed)

Created:
7 years, 10 months ago by siva
Modified:
7 years, 10 months ago
Reviewers:
Tom Ball, hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add unit tests which reliabily reproduces the error condition reported in Issue 6080 without the need for a specialized and inconsistent private environment. Committed: https://code.google.com/p/dart/source/detail?r=18232

Patch Set 1 #

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -9 lines) Patch
M tests/vm/vm.status View 1 1 chunk +2 lines, -0 lines 0 comments Download
M vm/debugger_api_impl_test.cc View 1 7 chunks +328 lines, -9 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
siva
7 years, 10 months ago (2013-02-07 02:49:27 UTC) #1
siva
7 years, 10 months ago (2013-02-07 07:39:08 UTC) #2
hausner
lgtm https://codereview.chromium.org/12218046/diff/3001/vm/debugger_api_impl_test.cc File vm/debugger_api_impl_test.cc (right): https://codereview.chromium.org/12218046/diff/3001/vm/debugger_api_impl_test.cc#newcode1252 vm/debugger_api_impl_test.cc:1252: // Frame 0 corresponding to "local_to_main". I see ...
7 years, 10 months ago (2013-02-07 17:56:51 UTC) #3
Tom Ball
lgtm
7 years, 10 months ago (2013-02-07 19:08:04 UTC) #4
siva
7 years, 10 months ago (2013-02-07 20:33:21 UTC) #5
https://codereview.chromium.org/12218046/diff/3001/vm/debugger_api_impl_test.cc
File vm/debugger_api_impl_test.cc (right):

https://codereview.chromium.org/12218046/diff/3001/vm/debugger_api_impl_test....
vm/debugger_api_impl_test.cc:1252: // Frame 0 corresponding to "local_to_main".
Sure makes sense, we could fix it in a different CL as Tom suggests by adding a
ListContains method.

On 2013/02/07 17:56:52, hausner wrote:
> I see this is not your code, but I think it would be better to check locals
> without relying on a particular order in the list returned by the debugger.
Feel
> free to ignore this comment for this checkin.

Powered by Google App Engine
This is Rietveld 408576698