microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
699 stars 581 forks source link

Failed to connect when reconnect the device #5672

Open v-katherine opened 1 month ago

v-katherine commented 1 month ago

Describe the bug Failed to connect when reconnect the device

Steps to reproduce the behavior 1.Navigate to https://makecode.microbit.org/beta 2.Complete a tutorial and then connect the device to computer, the device connected automatically. 3.Click Disconnect in download options, and still plug in the device USB. 4.Click 'Connect the device' in the download options and reconnect the device.

Actual behavior: Shows 'Failed to connect' dialog.

Expected behavior: Reconnect the device successfully.

Screen Recording: connectdevice

Additional context: 1.OS: Windows11, iMac Ventura 13.6.6 2.makecode.microbit,org version: 7.0.11 3.Microsoft MakeCode version: 10.0.23