-
Notifications
You must be signed in to change notification settings - Fork 421
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
CanJS Inspector #1144
Comments
This will be great, I can add:
|
@cherifGsoul what do you mean by dependencies? Also, for benchmarking, what do you mean? @retro I think we should also add showing a compute's dependent values. For instance a fullName compute would show |
@justinbmeyer dependencies I mean if the module depends on onther module from CanJS for example can.Component depends on can.Map and can.Map depends on can.map.define . |
@justinbmeyer fully agree - debugging computes can be quite tricky and being able to see their dependency chain would be very useful. Let's say I'm creating a view with a list of checkboxes that use I could write a compute that "gets" each checkbox's value from the array using How could the inspector help you realize that this is a performance bottleneck? Maybe the "compute dependencies" view could show how many times a compute instance updated itself in total (so you could see that they all recompute themselves at the same rate) or a log view could shows which computes have updated most recently. Clicking on one of the log entries could then show the dependent values and ideally link to the compute's source code itself. |
Closing as we now have an alpha inspector with its own repository: https://github.com/canjs/can-devtools |
VOTE HERE
I'd like to make something like Ember Inspector but for CanJS
I was thinking about the following features:
Can you think of any other features we could need?
The text was updated successfully, but these errors were encountered: