Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Debugging tests is unnecessarily hard #163

Closed
@FlutterIssues

Description

@FlutterIssues

Issue by Hixie
Wednesday Sep 16, 2015 at 19:49 GMT
Originally opened as https://github.com/flutter/engine/issues/1196


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.

Metadata

Metadata

Assignees

Labels

a: tests"flutter test", flutter_test, or one of our testsc: new featureNothing broken; request for a new capabilitytoolAffects the "flutter" command-line tool. See also t: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions