You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if there was a way to launch a single test in Observatory. Right now since there's no way to set breakpoints before you've loaded the code, the only way I can think to do it is to modify the code to call debugger(), then run the test, then attach the debugger (somewhere? it's not clear where to attach it, really). Really I want the equivalent of "start with gdb" but for observatory.
It's not yet easy to debug a test under flutter test in observatory. What I'm doing will make it possible to test under flutter run, but that's not really the same.
I'd like to clarify this request is for making it easier to debug a test without using an IDE. We could open a separate request for a test runner (implied: debugging) in the IDE plugin, but I believe you are looking for a solution without the IDE?
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
FlutterIssues commentedon Nov 9, 2015
Friday Sep 18, 2015 at 01:48 GMT
cc @devoncarew as we're exploring a debugger
Would make a ton of sense to right-click on a single test and run that, with the debugger, from Atom
eseidelGoogle commentedon May 13, 2016
@Hixie has a patch in progress which may address some of this?
Hixie commentedon May 13, 2016
It's not yet easy to debug a test under
flutter testin observatory. What I'm doing will make it possible to test underflutter run, but that's not really the same.sethladd commentedon Sep 20, 2016
Did we make progress on this?
I'd like to clarify this request is for making it easier to debug a test without using an IDE. We could open a separate request for a test runner (implied: debugging) in the IDE plugin, but I believe you are looking for a solution without the IDE?
Hixie commentedon Dec 9, 2016
What we need to resolve this is support for
flutter test --start-paused filename.dart.flutter test --start-paused (#7584)
Prepare for new clang version (flutter#163)
github-actions commentedon Aug 8, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.