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

Debug tools will not run with pxt-jacdac breakout boards connected #6013

Open
ross-inksmith opened this issue Nov 19, 2024 · 2 comments
Open
Assignees

Comments

@ross-inksmith
Copy link
Contributor

Describe the bug
The debugging interface will not allow for pausing, stepping through code, nor does it highlight code blocks for projects with pxt-jacdac if there is a physical device connected and powered on or if just a bare microbit is connected to makecode

Tested using the Forward Education Climate Action Kit as well as the KittenBot jacdac kit on Windows

Steps

  1. Create a program with at least one jacdac block
  2. Download the code to a microbit
  3. Switch to the debugger
  • Code execution can't be controlled or followed
  1. Plug the microbit into the edge connector of a breakout board, make sure it's powered off
  • Debugger now works as normal
    5 . Toggle the power switch on the breakout board
  • Debugger breaks again
@fwdunc
Copy link

fwdunc commented Nov 19, 2024

Video demonstration of the steps taken. The file is too large to upload in a comment so here's the link to it on the Forward Education Google Drive.

@tballmsft
Copy link
Contributor

tballmsft commented Nov 22, 2024

@ross-inksmith, the problem here is the micro:bit has gone into proxy mode, per design with FE, which means the user code is not running. I have forgotten, is it even possible to run code in simulator when a HW micro:bit is on the Jacdac bus? Happy to jump on a call and revisit the design and look into issues with you.

@tballmsft tballmsft self-assigned this Nov 22, 2024
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

3 participants