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

Issue 146833007: Don’t call toString from debugger (Closed)

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

Description

Don’t call toString from debugger Debugger no longer calls toString on objects. It continues to do so on known basic types like numbers, booleans, strings. This is necessary because toString() may have side effects. See issue 16229 for example. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=32003

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -9 lines) Patch
M runtime/bin/dbg_message.cc View 1 2 chunks +11 lines, -8 lines 0 comments Download
M tests/standalone/debugger/tostring_throws_test.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
hausner
6 years, 11 months ago (2014-01-24 20:33:51 UTC) #1
Cutch
lgtm
6 years, 11 months ago (2014-01-24 23:12:42 UTC) #2
hausner
6 years, 11 months ago (2014-01-24 23:14:19 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r32003 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698