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

Editor's debugger requires too many "step-into" operations to get where I'm going #22096

Closed
bwilkerson opened this issue Jan 16, 2015 · 4 comments
Assignees

Comments

@bwilkerson
Copy link
Member

Enter the following code in a Dart file:


class C {
  List _list;

  set list(List value) {
    _list = value;
  }
}

main() {
  C c = new C();
  c.list = ['one', 'two'];
}


In Dart Editor, place a breakpoint on the second to last line and then run. When it stops, click on "step into". Nothing happens. The second time it takes you to List.isEmpty. Four more clicks will finally get you to the body of the setter. (Continuing will drop off the end of main and into system code.)

Devon says:


I think this is likely a case where we've set the dart:core library to be debuggable. We have the ability to turn on and off debugging for the core libraries, so we can disable step-in for dart:core if we think that's best. Changing it often has some non-linear effects though - it can improve the situation for some cases and make it worse in others.


That might be true, but it seems to me that it's wrong when stepping into something appears to do nothing.

@devoncarew
Copy link
Member

Added this to the 1.9 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium label.

@clayberg
Copy link

Set owner to @devoncarew.

@devoncarew
Copy link
Member

Removed this from the 1.9 milestone.

@DartBot
Copy link

DartBot commented Aug 6, 2015

This issue has been moved to dart-archive/eclipse3#36.

@DartBot DartBot closed this as completed Aug 6, 2015
@kevmoo kevmoo removed the triaged label Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants