Skip to content

Empty While Loop Bug #79

@ElliotRoe

Description

@ElliotRoe

Summary
If a while(true) loop never uses any scratch functions, then the stop button won't stop it. Thus, the start button will be disabled once it is clicked

Steps to Reproduce

  1. New Project
  2. Add the following code:
while (True):
  if (False):
    move(1)
  1. Press the green flag
  2. Press the green flag again

Current Behavior
After the 2nd press, the green flag button is disabled because it is unable to stop the while loop and thus can't start again. The website needs to be reloaded to be usable again.

Expected Behavior
The while loop stops.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions