717aa6396c
The legacy debug adapters would scan all output for stack frames but when building the new adapters I only parsed stderr (because the stack frame parsing captures quite a lot and it seemed unnecessary). It turned out many users appreciated the IDE linking up stack traces in stdout too (because their exception logging framework may handle exceptions and print them this way, or they might have helpers to print the current stack trace to aid debugging). This marks `parseStackFrames` as deprecated from `sendOutput` and scans all output for frames, while filtering out things that don't look like Dart URIs before calling `lookupResolvedUris` to try and avoid making general output async/slow. If Flutter considers deprecations a bot failure, this will need to be rolled in manually. Fixes https://github.com/Dart-Code/Dart-Code/issues/5072 Change-Id: I8857281fb79ca69328074d6ad6a0c0a505e5c193 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/362804 Reviewed-by: Helin Shiah <helinx@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Helin Shiah <helinx@google.com>