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

Create Developer Tools Window #35

Open
sderickson opened this issue Jan 2, 2014 · 2 comments
Open

Create Developer Tools Window #35

sderickson opened this issue Jan 2, 2014 · 2 comments

Comments

@sderickson
Copy link
Contributor

One cool project for learning the higher level structure of the site and incredibly useful for Archmages everywhere would be a window which displays many helpful stats about the site at any given time. Anywhere on the site, the developer could click a button or press a shortcut and open a Developer Tools like interface in a separate window which includes:

  1. Current view and subviews. They could be clicked to highlight what element that view represents. Show the module path for each one.
  2. Current instances of other classes and models and collections in existence.
  3. Events, subscriptions and keyboard shortcuts currently active, and what they call.
  4. Active log of events, subscriptions and keyboard shortcuts as they happen.
  5. Regular updating of all these as they change.

This could be used to:

  1. Edify an Archmage on what is going on with a given view. See what files are involved and how they're involved and how they communicate with one another.
  2. Debug issues involving tearing down objects and views and investigating memory leaks.
@nwinter
Copy link
Contributor

nwinter commented Feb 9, 2014

@sderickson I was pointed at the Backbone Debugger Chrome extension by @deepak1556, which might be a good place to start with this. What do you think? I tried it and it was able to show views, models, collection, and the router, although its performance exploded when trying to play a level, and it doesn't have any CodeCombat-specific stuff (but we could extend it).

@ghost
Copy link

ghost commented Mar 11, 2014

@sderickson @nwinter I would be willing to try this out, I am submitting the proposal for this project in GSoC as we speak. Hopefully I will be able to work on this if you like my proposal.

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

2 participants