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

Issue 2519873004: Set auto breakpoint at various errors (Closed)

Created:
4 years, 1 month ago by vsm
Modified:
4 years, 1 month ago
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Set auto breakpoint at various errors Any reason not to do this? I generally find when framework code wraps these errors, it just complicates finding the original bug. Better to just trap. Perhaps should just inline the call to debugger though. I put in dart.debugger with the thought of making it configurable. R=jacobr@google.com, jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/de9e3a30058c829679b912cf060eafe17582b62f

Patch Set 1 #

Patch Set 2 : Reland #

Total comments: 6

Patch Set 3 : Inline debugger #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart View 2 2 chunks +7 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/utils.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
vsm
4 years, 1 month ago (2016-11-21 22:10:18 UTC) #3
Jennifer Messerly
LGTM https://codereview.chromium.org/2519873004/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart (right): https://codereview.chromium.org/2519873004/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart#newcode7 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart:7: $debugger(); since you're already in a JS literal, ...
4 years, 1 month ago (2016-11-21 22:16:05 UTC) #4
vsm
https://codereview.chromium.org/2519873004/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart (right): https://codereview.chromium.org/2519873004/diff/20001/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart#newcode7 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart:7: $debugger(); On 2016/11/21 22:16:05, Jennifer Messerly wrote: > since ...
4 years, 1 month ago (2016-11-21 22:39:26 UTC) #5
Jacob
lgtm
4 years, 1 month ago (2016-11-21 22:40:01 UTC) #6
vsm
4 years, 1 month ago (2016-11-21 22:40:54 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
de9e3a30058c829679b912cf060eafe17582b62f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698