Comments (5)
The forward slashes are correct, but you need to use the configured profile for debugging, so the debug button on the bottom bar does not work. Our VS Code configuration hides that button, did you follow the steps in the tutorial to set that up and start debugging?
from pico-setup-windows.
The VS Code configuration (i.e. .vscode folder) was supplied with the SDK and installed by pico-setup-windows-x64-standalone.exe.
A zip file named pico-examples.zip contained the .vscode folder.
I should note that there was a step in the SDK installation process that failed. I attempted to install the examples to the C:\Program Files
folder instead of the C:\Users\
Documents directory. The installer failed to extract the examples from github due to permissions error. So I used the zip file contained in the SDK.
Perhaps I need to grab the latest examples from github. I will report back.
from pico-setup-windows.
I reinstalled. Looks like the SDK installer does the same thing I did manually which was unzip pico-examples.zip to the documents directory.
I'm using the .vscode folder that was supplied with the installer and SDK.
Are you saying the small debug icon should not be in the taskbar?
Here is the error that shows up
Here is the command that failed
[proc] Executing command: "C:/Program Files/Raspberry Pi/Pico SDK v1.5.1/gcc-arm-none-eabi/bin/arm-none-eabi-gdb.exe" --version
[proc] The command: "C:/Program Files/Raspberry Pi/Pico SDK v1.5.1/gcc-arm-none-eabi/bin/arm-none-eabi-gdb.exe" --version exited with code: 1
[proc] Executing command: gdb --version
[proc] The command: gdb --version exited with code: 1
This command ran successfully.
[proc] Executing command: "C:\Program Files\Raspberry Pi\Pico SDK v1.5.1\cmake\bin\cmake.EXE"
[build] Build finished with exit code 0
That's why I thought the slashes were backwards.
This executable C:/Program Files/Raspberry Pi/Pico SDK v1.5.1/gcc-arm-none-eabi/bin/arm-none-eabi-gdb.exe
for sure exists on the system.
How does that path get created?
from pico-setup-windows.
I've come to the conclusion that CMake is a mess. Sure it works however debugging issues like this is a nightmare. There is so much cache and crap left behind that pin-pointing the root cause of an issue is pretty much impossible. Even resetting and clearing doesn't get rid of everything.
It's not surprising people have so many issues and confusion.
from pico-setup-windows.
Yes, you're not supposed to use the debug button on the bottom status bar, the .vscode configuration that we provide is supposed to hide that for this reason. I'll see if I can replicate this behavior.
The recommended way to start debugging is documented in the tutorial (which is included and installed as readme.txt if you use this installer.)
There is plenty of discussion in the cmake-tools VS Code extension repo around this, for example: microsoft/vscode-cmake-tools#3188
from pico-setup-windows.
Related Issues (20)
- No way to build Pico W examples from VSCode Cmake tab HOT 5
- New install not working HOT 12
- v1.5.1 does not create all registry keys anymore HOT 8
- Pico - Visual Studio Code link does nothing if VS code is not in PATH HOT 2
- Installer not checking PowerShell execution policy HOT 2
- Latest pico installer downloading as unconfirmed[random_number].crdownload HOT 2
- Problem finding path with new project HOT 2
- Installer Cant Get Pased The Choose Location HOT 2
- Installer able to install Pico_W SDK? HOT 3
- Keeping the SDK repo updated as often as possible HOT 2
- Installer not working on Windows 11 on Arm64 HOT 6
- TinyUSB are not visible in VSCode workspace HOT 4
- Use of $env:COMSPEC may be invalid in some cases. HOT 1
- No suitable code signing certificates found HOT 6
- Changing from debug to build and run for a Pico W HOT 11
- The system cannot find the file specified. HOT 2
- Add local Visual Studio Code just like other included software HOT 7
- cmake issue HOT 1
- Another cmake issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-setup-windows.