Skip to content

Compiler Never terminates if compilation error occurs #2085

Open
@marcusobrien

Description

@marcusobrien

Describe the problem

Have a ESP32 sketch loaded. Hit the compile Button (tick mark top left on IDE GUI), the system compiles the sketch - but encounters an error, reports the error through the output terminal, and compilation has stopped - but GUI has not registered this state change, so the GUI has

  1. The Notification message "Compiling", which stays on the screen and wont clear unless I explicitly clear it via Notification button
  2. All re compile buttons greyed out in the menus eg Sketch->Verify/Compile, Sketch->Upload, Sketch->Configure and Upload, Sketch->Upload using programmer, and Sketch->Export compiled binary
  3. I can still edit the sketch file and press other buttons - so the App hasn't crashed, and the GUI is still repsonding
  4. The round Upload Arrow button is now yellow and cant be clicked, the round Verify button is still green and also cant be clicked

To reproduce

  1. Open .ino Sketch
  2. Press Round Right Arrow button on GUI to Compile and Upload
  3. Make sure the compilation fails
  4. Should now be in the same state as me, cant now re-compile as the GUI still thinks the compilation process is running.

Only was to now recover is reset application ie close it and re-open

Expected behavior

Should be able to re-compile when compilations has stopped, without having to shut down and restart the IDE

Arduino IDE version

2.1.0

Operating system

Windows

Operating system version

10

Additional context

Compiling project for ESP32S3 using libraries GFX and LVGL

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: waiting for informationMore information must be provided before work can proceedtopic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions