flipperzero-firmware icon indicating copy to clipboard operation
flipperzero-firmware copied to clipboard

"str.replace is not a function" when running "Attach FW (blackmagic)" in VS Code

Open xouabita opened this issue 1 year ago • 0 comments

Describe the bug.

When running "Attach FW (blackmagic)" from VS Code, it ends up with "str.replace is not a function"

Reproduction

  1. After cloning I ran ./fbt then ./fbt vscode_dist
  2. From VS code, Ran "[Debug] Flash (blackmagic)" and "[Debug] Build"
  3. Try to run "Attach FW (blackmagic)"

Sun 19 Mar 16:45:57 GMT 2023

  1. Ended up with "str.replace is not a function" error:

Sun 19 Mar 16:46:06 GMT 2023

Target

No response

Logs

No response

Anything else?

Is there anything I am doing wromg ? Anyone succeeded at debugging with VS Code using blackmagic probe ?

I think the issue could be in: https://github.com/Marus/cortex-debug

xouabita avatar Mar 19 '23 17:03 xouabita