-
Notifications
You must be signed in to change notification settings - Fork 311
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
[Bug Report]: Build crashing on custom OpenOCD build (VSC-532) #276
Comments
On the other hand, typing |
@brianignacio5 I have reason to believe that you have closed this issue a bit too fast, could you please reopen? I've compiled and installed the extension as indicated in the README.md and the error still persists with your changes against
This error message shows up in the log every time I click the extension's "Build" button. |
EDIT: Also the "Build from source code" in the README.md should be a bit more specific about the following point:
Since I'm getting this prompt to configure the How does your |
oh really ? I removed the tools check from build flash and monitor. Will reopen. If you executed |
Fixed the extension debugging part by: diff --git a/.vscode/launch.json b/.vscode/launch.json
index ee48d96..b850207 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -12,7 +12,7 @@
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
- "preLaunchTask": "npm: debugPreTask",
+ //"preLaunchTask": "npm: debugPreTask",
"env": {
"VSCODE_EXTENSION_MODE": "development"
} Looking into debugging the actual OpenOCD issue now... |
There is a OpenOCD output tab (next to terminal) which is the openocd server log. |
Also how is openOCD related to the build process ? Your log output is not related to the build error, there should be some other information besides this related to CMake, ninja-build or xtensa toolchain. In the terminal, when you try to build, there should be a Build Task output showing the error. |
Funnily enough, when debugging the extension in the "Extension Development Host" VSCode it all seems to build and work fine... but when I install the
No there's no task output on the ".vsix"-installed VSCode editor, when clicking Build, the "Building" popup disappears in 1-2 seconds and the |
Pre Bug Report Checklist
Before reporting any bug please make sure of these points.
Describe the bug
I'm having similar symptoms as #270, but my case is slightly different, I'll be thorough on this bug report...
After enabling
remote_bitbang
on OpenOCD (see PR espressif/openocd-esp32#134), I cannot seem to be able to do anything with the extension anymore since the following error appears on any action (i.e Build):The error log above occurs as well if having OpenOCD up and running... my best guess is that
idf_tools.py
version checking logic is interfering with the extension Build task/command?To Reproduce
Install a slightly tweaked OpenOCD version (different than the one shipped with the extension).
Expected behavior
Everything working fine as it should? :)
Screenshots
On each Build task, the following error block appears in the extension's error log:
Environment (please complete the following information):
master
Logs
As shown above in the description.
Additional context
Please see PR espressif/openocd-esp32#134 for more context. Also providing env vars I'm using:
The text was updated successfully, but these errors were encountered: