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

Add a "debug" mode #262

Open
rollandf opened this issue Oct 30, 2017 · 3 comments
Open

Add a "debug" mode #262

rollandf opened this issue Oct 30, 2017 · 3 comments

Comments

@rollandf
Copy link
Contributor

A "debug" mode of running the race will be helpful for students to help them track issues and improve.

The idea is to have an additional web page with different controls, where the user will not run the whole race but will be able to go step by step.
The proposed controls :

  • Start race in debug mode
  • Stop race
  • Run step
@rollandf rollandf changed the title Addd a "debug" mode Add a "debug" mode Oct 30, 2017
@nirs
Copy link
Member

nirs commented Oct 30, 2017

I don't think we need another web page, only different buttons above the dashboard, and maybe more info on the dashboard?

However, are you sure it will be useful to step manually 60 times instead of clicking start once? sounds like lot of work for the users.

@rollandf
Copy link
Contributor Author

What about a "pause/resume" button, with the option of a "Step" action when in "Pause" state ?

@nirs
Copy link
Member

nirs commented Oct 31, 2017

Sounds good!

On the server side, this should be easy:

  • Pause stop the looper
  • Step call tick() (same method called by the looper)
  • Resume start the looper

On the UI side:

  1. Click "Start"
  2. Click "Pause"
  3. Click "Step" several times
  4. Click "Resume"

I think we should build a quick prototype and see how it feels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants