flipperzero-firmware
flipperzero-firmware copied to clipboard
"str.replace is not a function" when running "Attach FW (blackmagic)" in VS Code
Describe the bug.
When running "Attach FW (blackmagic)" from VS Code, it ends up with "str.replace is not a function"
Reproduction
- After cloning I ran
./fbt
then./fbt vscode_dist
- From VS code, Ran "[Debug] Flash (blackmagic)" and "[Debug] Build"
- Try to run "Attach FW (blackmagic)"
- Ended up with "str.replace is not a function" error:
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