dart-sdk/.gitignore
John McCutchan a0ee5b24db Track async causal stack traces
This CL improves the stack traces that accompany exceptions. Whenever an
async function is entered, we remember how we got there. This is similar
in spirit to package:stack_trace but the implementation is more efficient
and memory usage can be more easily reasoned about.

Tracking causal stack traces:

- [x] Upon entry to an async function, capture the synchronous stack trace prefix and store it into the closure.
- [x] Upon entry to an async* function, capture the synchronous stack trace prefix and store it into the closure.
- [x] Before returning from an async function, clear the Thread's asynchronous stack trace.
- [x] After resuming an async function, load the sychronous stack trace prefix into the Thread.
- [x] Filter stack traces to remove async machinery.

Service protocol changes:

- [x] Send causal async stack trace.

Observatory changes:

- [x] Display causal async stack trace below async functions.

Fixes https://github.com/dart-lang/sdk/issues/27661

R=asiva@google.com, rmacnak@google.com

Comparisons: https://docs.google.com/a/google.com/document/d/10r6jEqr8OCiDZ4y9SYU_uOimcHiOGAZMly2ghTErALI/edit?usp=sharing
Review-Url: https://codereview.chromium.org/2646443005 .
2017-02-09 15:39:44 -08:00

82 lines
1.1 KiB
Plaintext

# Build artifacts and dependencies.
/.children
/.project
/Makefile
/base
/benchmarks
/buildtools
/ipch
/out
/xcodebuild
/.flaky.log
/.debug.log
*.Makefile
*.opensdf
*.sdf
*.sln
*.suo
*.target.mk
*.host.mk
*.vcproj
*.vcxproj
*.vcxproj.filters
/*.vcxproj.user
*.stamp
# Gyp generated files
*.xcodeproj
*.intermediate
# Eclipse config files - also in all subdirectories.
.children
.project
.settings
# IntelliJ project files
*.iml
.idea
CMakeLists.txt
.clang_complete
# Built by chromebot and downloaded from Google Storage
client/tests/drt
# Compiled python binaries
*.pyc
# pydev project file.
.pydevproject
# From the Mac OS X Finder
.DS_Store
# Pub generated "packages" directories and files
packages
pubspec.lock
# Local pub storage
.pub
# Vim temporary swap files.
*.swp
# Kate temporary files.
*~
*.kate-swp
# Merge files.
*.orig
*.rej
# Generated files.
tools/dartium/out
tools/out
tools/xcodebuild
editor/util/testing/mac/CodeLab.suite/Results
editor/util/testing/mac/DartEditor.suite/Results
editor/util/testing/mac/Samples.suite/Results
.test-outcome.log
/outline.dill
/generated/
/crash_logs/