question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug Report]: Build status notification doesn't disappear when build fails (VSC-540)

See original GitHub issue

Pre Bug Report Checklist Before reporting any bug please make sure of these points.

  • Make sure you have searched for existing bugs and features request before you post an issue.
  • This is a bug report for the ESP-IDF Visual Studio Code extension and not an ESP-IDF bug report.
  • I’ve read the docs and found no information that could have helped solving the issue.

Describe the bug A build failure results in the build progress notification at the bottom right staying visible and stuck at whatever point the build fails at. This also means subsequent builds require you to click cancel, otherwise the error “Wait for ESP-IDF build or flash to finish” shows. Clicking cancel also closes the active terminal so you can’t see the build log and its reason for failure.

To Reproduce Cause a build error by trying to compile invalid C.

Expected behavior A build failed notification to be displayed and the build progress notification to disappear, also the current terminal/build log to be preserved.

Screenshots If applicable, add screenshots to help explain your problem. image

Environment (please complete the following information):

  • OS Name & Version: macOS 11.0.1
  • VSCode Version: 1.52.1
  • ESP-IDF Version: 0.6.0
  • Python Version: 3.9.0

Logs esp_idf_vsc_ext.log

Extension Configuration settings Open Command Palette (F1) and type Preferences: Open Settings (JSON) or use {CURRENT_PROJECT}/.vscode/settings.json to get the following extension configuration settings value:

  • idf.espIdfPath: /Users/elijah/Scratch/esp-idf
  • idf.pythonBinPath: /Users/elijah/.espressif/python_env/idf4.2_py3.9_env/bin/python3
  • idf.openOcdConfigs: board/esp32-wrover-kit-1.8v
  • idf.customExtraPaths: /Users/elijah/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin:/Users/elijah/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin:/Users/elijah/.espressif/tools/esp32ulp-elf/2.28.51-esp-20191205/esp32ulp-elf-binutils/bin:/Users/elijah/.espressif/tools/esp32s2ulp-elf/2.28.51-esp-20191205/esp32s2ulp-elf-binutils/bin:/Users/elijah/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/bin"
  • idf.customExtraVars: {"OPENOCD_SCRIPTS":"/Users/elijah/.espressif/tools/openocd-esp32/v0.10.0-esp32-20200709/openocd-esp32/share/openocd/scripts"}
  • idf.adapterTargetName esp32

Additional context The previous version of the extension worked fine!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
Elijahgcommented, Jan 19, 2021

Have you checked if your project has a .vscode/settings.json file with idf.customExtraPaths ? This will override any Global settings such as User settings or Workspaces settings

Sorry @brianignacio5 I didn’t have notifications on! I did have an idf.customExtraPaths and ended up deleting the .vscode/settings.json to fix it, and re-running Onboarding. Seems there must have been a duplicate, incorrect path somehow. Maybe one time I ran onboarding I chose to save the config in the wrong place. Thanks for your help! 😃

1reaction
sle118commented, Jan 12, 2021

Reporting the same behavior here. VS Code build doesn’t seem to end on build failures.

I have to manually close the build task, and only then VS Code is able to show errors. In my case, there’s no version issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues - GitHub
Bug Description The esp-idf extension ignores settings placed in ... status notification doesn't disappear when build fails (VSC-540) #287.
Read more >
Alerts are displayed, but disappear before I can accept it
Actual Behavior: The alert appears and disappears before it can be accepted and causes my test to fail. 5 Likes.
Read more >
Common Issues and Reporting Bugs - web.dev
When you hit an issue with web push, it can be difficult to debug the issue or find help. This doc outlines some...
Read more >
Solved: Spotify Notification won't go away
Spotify music control notification won't go away even when it's not playing and not running in the background. I even tried cleaning all...
Read more >
How To Fix Disappearing Notifications Problem on Android
HELLO GUYS!!!!!So recently my phone was acting all wired and all of my notifications which used to pop-up just disappear immediately without ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found