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

Frustrating debugger UX #15635

Closed
stevemessick opened this issue Dec 13, 2013 · 10 comments
Closed

Frustrating debugger UX #15635

stevemessick opened this issue Dec 13, 2013 · 10 comments
Assignees
Labels
closed-obsolete Closed as the reported issue is no longer relevant
Milestone

Comments

@stevemessick
Copy link
Contributor

Our debugging experience is leaving me very unimpressed. So, having modified my program enough to have a breakpoint I can then inspect the library (because we don't have any way of just seeing all the things that are in scope, so I can't evaluate, say searchIndex.map.containsKey(link.text) because there's nothing that can see both link and searchIndex).

If I type searchIndex.map then the editor freezes for 1 minute while it creates the huge toString. I'd really like to have more control over whether and by how much these things are truncated. So it's too big, and I'd like to reduce it, so I want to evaluate
   searchIndex.map.keys.where((x) => x.startsWith("unittest"))
and it tells me it's a syntax error.

Alan Knight
////////////////////////////////////////////////////////////////////////////////////
Editor: 1.1.0.edge_031110 (2013-12-12)
OS: Mac OS X - x86_64 (10.9)
JVM: 1.6.0_65

projects: 6

open dart files: 56

auto-run pub: false
localhost resolves to: 127.0.0.1
mem max/total/free: 1983 / 502 / 180 MB
thread count: 33
index: 1202498 relationships in 212763 keys in 949 sources

SDK installed: true
Dartium installed: true

@devoncarew
Copy link
Member

Removed this from the 1.2 milestone.
Added this to the Later milestone.

@clayberg
Copy link

clayberg commented Apr 9, 2014

Removed this from the Later milestone.
Added this to the 1.4 milestone.

@kasperl
Copy link

kasperl commented May 8, 2014

Removed this from the 1.4 milestone.
Added this to the 1.5 milestone.

@kasperl
Copy link

kasperl commented Jun 4, 2014

Removed this from the 1.5 milestone.
Added this to the 1.6 milestone.

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the 1.6 milestone.
Added Oldschool-Milestone-1.6 label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-1.6 label.

@sethladd
Copy link
Contributor

Added Editor-Debugging label.

@clayberg
Copy link

cc @scheglov.

@scheglov
Copy link
Contributor

I think it is AssumedStale now.
I have just created a map with 100000 items and it works with a reasonable speed.
It does not show all of the items of the map thought, but I think it is the best we can do.


cc @devoncarew.
Set owner to @scheglov.
Added AssumedStale label.

@clayberg
Copy link

Added this to the 1.7 milestone.

@stevemessick stevemessick added Type-Defect closed-obsolete Closed as the reported issue is no longer relevant labels Sep 27, 2014
@stevemessick stevemessick added this to the 1.7 milestone Sep 27, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

6 participants