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

Issue 13839023: Add flag to disable capturing stack traces. (Closed)

Created:
7 years, 8 months ago by Bob Nystrom
Modified:
7 years, 8 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add flag to disable capturing stack traces. BUG=http://dartbug.com/9697 Committed: https://code.google.com/p/dart/source/detail?r=21237

Patch Set 1 #

Total comments: 14

Patch Set 2 : Revise. #

Patch Set 3 : Add command line option to enable traces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -17 lines) Patch
M pkg/scheduled_test/lib/src/schedule.dart View 1 4 chunks +19 lines, -3 lines 0 comments Download
M pkg/scheduled_test/lib/src/schedule_error.dart View 1 2 chunks +7 lines, -9 lines 0 comments Download
M pkg/scheduled_test/lib/src/task.dart View 1 4 chunks +11 lines, -4 lines 0 comments Download
A pkg/scheduled_test/test/scheduled_test/capture_stack_traces_test.dart View 1 1 chunk +52 lines, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_and_update_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_branch_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_revision_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_transitive_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_twice_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/check_out_with_trailing_slash_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/dependency_name_match_pubspec_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/different_repo_name_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/lock_version_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/require_pubspec_name_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/require_pubspec_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/stay_locked_if_compatible_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/git/unlock_if_incompatible_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/do_not_update_on_removed_constraints_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/fail_gracefully_on_missing_package_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/fail_gracefully_on_url_resolve_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/install_transitive_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/remove_removed_dependency_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/remove_removed_transitive_dependency_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/resolve_constraints_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/stay_locked_if_compatible_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/stay_locked_if_new_is_satisfied_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/stay_locked_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/unlock_if_incompatible_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/hosted/unlock_if_new_is_unsatisfied_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/install/pub_install_test.dart View 1 chunk +0 lines, -1 line 0 comments Download
M utils/tests/pub/oauth2/with_a_malformed_credentials_authenticates_again_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/oauth2/with_a_pre_existing_credentials_does_not_authenticate_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/oauth2/with_a_server_rejected_refresh_token_authenticates_again_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/oauth2/with_an_expired_credentials_refreshes_and_saves_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/oauth2/with_an_expired_credentials_without_a_refresh_token_authenticates_again_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/oauth2/with_no_credentials_authenticates_and_saves_credentials_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/oauth2/with_server_rejected_credentials_authenticates_again_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/pub_uploader_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/test_pub.dart View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M utils/tests/pub/update/git/do_not_update_if_unneeded_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/git/update_locked_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/git/update_one_locked_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/git/update_to_incompatible_pubspec_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/git/update_to_nonexistent_pubspec_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/fail_gracefully_on_missing_package_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/fail_gracefully_on_url_resolve_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/remove_removed_dependency_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/remove_removed_transitive_dependency_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/unlock_dependers_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/unlock_if_necessary_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M utils/tests/pub/update/hosted/update_removed_constraints_test.dart View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Bob Nystrom
It defaults to true in the package. Pub leaves it true on the bots but ...
7 years, 8 months ago (2013-04-09 20:18:54 UTC) #1
nweiz
https://codereview.chromium.org/13839023/diff/1/pkg/scheduled_test/lib/scheduled_test.dart File pkg/scheduled_test/lib/scheduled_test.dart (right): https://codereview.chromium.org/13839023/diff/1/pkg/scheduled_test/lib/scheduled_test.dart#newcode210 pkg/scheduled_test/lib/scheduled_test.dart:210: bool captureStackTraces = true; I'd rather see this on ...
7 years, 8 months ago (2013-04-09 21:25:58 UTC) #2
Bob Nystrom
https://codereview.chromium.org/13839023/diff/1/pkg/scheduled_test/lib/scheduled_test.dart File pkg/scheduled_test/lib/scheduled_test.dart (right): https://codereview.chromium.org/13839023/diff/1/pkg/scheduled_test/lib/scheduled_test.dart#newcode210 pkg/scheduled_test/lib/scheduled_test.dart:210: bool captureStackTraces = true; On 2013/04/09 21:25:58, nweiz wrote: ...
7 years, 8 months ago (2013-04-10 21:52:00 UTC) #3
Bob Nystrom
https://codereview.chromium.org/13839023/diff/1/utils/tests/pub/test_pub.dart File utils/tests/pub/test_pub.dart (right): https://codereview.chromium.org/13839023/diff/1/utils/tests/pub/test_pub.dart#newcode53 utils/tests/pub/test_pub.dart:53: captureStackTraces = false; On 2013/04/09 21:25:58, nweiz wrote: > ...
7 years, 8 months ago (2013-04-10 22:40:34 UTC) #4
nweiz
lgtm
7 years, 8 months ago (2013-04-10 22:57:07 UTC) #5
Bob Nystrom
7 years, 8 months ago (2013-04-10 23:21:07 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r21237 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698