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

Issue 125033007: Add debugger steps in local variable assignments (Closed)

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

Description

Add debugger steps in local variable assignments This allows the debugger to single step and break on local variable assignments in unoptimized code. Checks are only added if the right hand side of the assignment has no safepoints where the debugger would stop anyway. Interestingly, generated code size is only 0.1% bigger, so the cost is negligible. Addresses issue 10403. R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=31575

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -10 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 2 3 chunks +16 lines, -4 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hausner
Bonus fix: eliminate debug step checks in native function returns.
6 years, 11 months ago (2014-01-06 23:59:17 UTC) #1
Jacob
This is great! Are there any other remaining cases where a valid Dart statement does ...
6 years, 11 months ago (2014-01-07 00:02:22 UTC) #2
hausner
continue and break come to mind. Local variable declarations that have no explicit initializer.
6 years, 11 months ago (2014-01-07 00:05:18 UTC) #3
Florian Schneider
https://codereview.chromium.org/125033007/diff/60001/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/125033007/diff/60001/runtime/vm/flow_graph_builder.cc#newcode3216 runtime/vm/flow_graph_builder.cc:3216: if (node->value()->IsLiteralNode()) { This only handles literals like "v ...
6 years, 11 months ago (2014-01-07 10:01:42 UTC) #4
hausner
https://codereview.chromium.org/125033007/diff/60001/runtime/vm/flow_graph_builder.cc File runtime/vm/flow_graph_builder.cc (right): https://codereview.chromium.org/125033007/diff/60001/runtime/vm/flow_graph_builder.cc#newcode3216 runtime/vm/flow_graph_builder.cc:3216: if (node->value()->IsLiteralNode()) { On 2014/01/07 10:01:42, Florian Schneider wrote: ...
6 years, 11 months ago (2014-01-07 17:00:30 UTC) #5
Ivan Posva
LGTM -ip
6 years, 11 months ago (2014-01-07 20:59:31 UTC) #6
hausner
6 years, 11 months ago (2014-01-07 21:10:52 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r31575 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698