flutter/packages/flutter_tools/test/general.shard/dap
Danny Tuppeny eb58fe16b6
[flutter_tools] Include more details in structured errors sent to a DAP client (#150698)
The debug adapter converts Flutter's structured errors into a text format to be sent to the debug client and shown in the console. When an error is not the first error since the last reload, it is shown as just a summary (since it may be caused by a prior error). In this mode, the filter was causing some important information (the erroring widget) to be omitted.

This tweaks the logic to include child nodes of a `DiagnosticBlock` in this mode.

Fixes https://github.com/Dart-Code/Dart-Code/issues/4743

## Before:

![image](https://github.com/flutter/flutter/assets/1078012/46ccd2ef-b165-46b4-a8ab-4473f82a904c)

## After:

![image](https://github.com/flutter/flutter/assets/1078012/232f866e-cf6f-4016-9d1d-49323204da04)
2024-06-28 06:36:03 +00:00
..
flutter_adapter_test.dart [flutter_tools] Include more details in structured errors sent to a DAP client (#150698) 2024-06-28 06:36:03 +00:00
flutter_test_adapter_test.dart Upgrade framework pub dependencies, roll engine with rolled dart sdk (#130163) 2023-07-07 13:55:35 -07:00
mocks.dart [flutter_tools/dap] Handle app.stop errors when launching/attaching (#149734) 2024-06-25 10:56:29 +00:00