Skip to content

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

Closed

Description

@DanTup

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

Activity

  1. added
    in debuggingRelates to the debug adapter or process of running debug sessions
    on Aug 4, 2020
  2. added this to the v3.14.0 milestone on Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions