Skip to content

Conversation

@DanTup
Copy link
Contributor

@DanTup DanTup commented Nov 19, 2018

A re-take of #18878. This adds a test that hits a breakpoint and then steps over some awaits and ensures we step to the correct locations. This was added because we had issues with this previously (#18877).

@zoechi zoechi added the a: debugging Debugging, breakpoints, expression evaluation label Nov 28, 2018

import 'project.dart';

class SteppingProject extends Project {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

run dartfmt (as this is a new file)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! The only change was removing one blank line (which I guess is what you'd noticed). Thanks!

@zoechi zoechi added the tool Affects the "flutter" command-line tool. See also t: labels. label Dec 11, 2018
@DanTup DanTup merged commit 2994d35 into flutter:master Dec 12, 2018
@DanTup DanTup deleted the additional-integration-tests branch December 12, 2018 10:57
await _flutter.run(withDebugger: true);

// Stop at the initial breakpoint that the expected steps are based on.
await _flutter.breakAt(_project.breakpointUri, _project.breakpointLine, restart: true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm changing this in my PR to start the app paused, set the breakpoint, resume, then wait for it to hit the breakpoint. This avoids the need for the restart.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable to me :-)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

a: debugging Debugging, breakpoints, expression evaluation tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants