8000 [Serial] Initial serial output after connecting over WebUSB is lost · Issue #485 · microbit-foundation/python-editor-v3 · GitHub
[go: up one dir, main page]

Skip to content
[Serial] Initial serial output after connecting over WebUSB is lost #485
Open
@microbit-mark

Description

@microbit-mark

Bug Description

A clear and concise description of what the bug is.

Needs a repro. Not sure if this is a bug as I haven’t been able to reproduce as yet, but on a zoom call flashing this code via WebUSB produced an error on the device for line 6, but not in the editor.

image

How To Reproduce

  1. Connect via WebUSB
  2. Flash erroneous program to micro:bit
  3. See error on device but not in editor
  4. Repeat 2&3

We then fixed the code and flashed the device which works as expected, then introduced a different error (removing the colon : from while True and this errored as expected.

Expected behavior

Would expect error bar to show as with this example
image

Environment

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 97

Additional context

Did not open the serial console to check to see if the error was present in the REPL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0