Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger doesn't break on any code when debug-my-code and exception stack contains no user code #2699

Closed
DanTup opened this issue Aug 4, 2020 · 0 comments
Labels
in debugger Relates to the debug adapter or process of launching a debug session is bug
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Aug 4, 2020

For example, in a clean app add:

@override
void initState() async {
  super.initState();

  try {
    final response = await Dio().get("http://notavalidhostname");
    print(response);
  } catch (e) {
    print(e);
  }
}

When you run it, you pause on an exception without focusing any code:

Screenshot 2020-08-04 at 12 00 03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in debugger Relates to the debug adapter or process of launching a debug session is bug
Projects
None yet
Development

No branches or pull requests

1 participant