Build process behaves strangely #1023
Labels
conclusion: duplicate
Has already been submitted
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Just to put it strait, the IDE builds and uploads executable code.
Hence this report shouldn't be placed here?
I experience strange behavour when building:
A new session is started and the build is initiated: Works as expected.
The build is initiated a second time in this session. Some or no changes are done in the source code:
a) Seems like the whole process now is done twice:
b) In the middle of the process (after finishing the first time?) the message pops up "Upload done" and the target system executes the program.
c) Then it still takes about the same time to finish the build process. At the end the upload is displayed by showing the % progress. The target system does not start a second time.
d) The program version the target system executes at 2.b) instant complies to the source code.
If I close the IDE after 2. b) (while it still pretends to build) and start a new session, then start the build process it executes like 1.. All object files are in the cache from the previous session. After the linking, the upload is displayed by showing the % progress and the target system starts to execute the program.
Repeatetly building in the same session takes progressively longer time to finish.
I experience up to factor 10 after about 20 builds.
This makes me close the IDE and start a new session to get back to normal build performance.
To reproduce
Expected behavior
The build process allways works the same way with the same performance.
At the end of the build process the target system is flashed and starts to execute the program.
Arduino IDE version
2.0.0 r6
Operating system
Windows
Operating system version
10
Additional context
Espressif Board Manager ESP32 V.2.0.3.
DFROBOT Fire Beetle Board-ESP32 (V4.0)
Issue checklist
The text was updated successfully, but these errors were encountered: