Compiling time to long

Hello,

i have to work this week in Homeoffice so i took the PC from the job with me.
I am working on a project using Arduino IDE 2.2.1, till now there were no problem at the work.
Compiling took only 1 minute or even less, but today it taks me surely 30 minutes ( i didn't change the code).
I have changed the Host name in the Network settings to the Host of my home network.
That doesn't helped me, and i tried to change the port number but it keeps lose the port number (does not save it).
I have searched to see if there are any threads about this problem but i didn't found.
So please if someone can help me, i will appreciate that.

Topic moved to the IDE 2.x section on the forum :wink:

Have you tried restarting the computer? Are you using the Arduino IDE compile button or the upload button? Do you have the Arduino device connected to the computer? What do you see on the computer screen during the 30 minute timeframe?

Yes i have tried to restart the PC, no success. I use compile button and i am connecting ESP32S3 DevKitC-1 to my PC. The output is just like other output when compiling the only difference it takes just too long.
I have changed the network setting to no proxy -> didn't helped.

Powershell output:

PS C:\Users\khalilm\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\khalilm\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.2.1
Checking for frontend application configuration customizations. Module path: C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:35:44.802Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:35:44.802Z"}
Starting backend process. PID: 6444
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/khalilm/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-02-12T14:25:26.116Z root INFO Backend Object.initialize: 4.2 ms [Finished 0.468 s after backend start]
2024-02-12T14:25:26.116Z root INFO Backend Object.configure: 3.5 ms [Finished 0.468 s after backend start]
2024-02-12T14:25:26.117Z root INFO Backend a.onStart: 1.4 ms [Finished 0.468 s after backend start]
2024-02-12T14:25:26.117Z root INFO Backend a.configure: 0.4 ms [Finished 0.494 s after backend start]
2024-02-12T14:25:26.118Z root INFO Backend u.onStart: 0.3 ms [Finished 0.494 s after backend start]
2024-02-12T14:25:26.119Z root INFO Backend d.configure: 0.1 ms [Finished 0.494 s after backend start]
2024-02-12T14:25:26.120Z root INFO Backend d.initialize: 26.1 ms [Finished 0.494 s after backend start]
2024-02-12T14:25:26.120Z root INFO Backend c.onStart: 0.2 ms [Finished 0.495 s after backend start]
2024-02-12T14:25:26.120Z root INFO Backend s.configure: 1.5 ms [Finished 0.496 s after backend start]
2024-02-12T14:25:26.122Z config INFO >>> Initializing CLI configuration...
2024-02-12T14:25:26.122Z root INFO Backend c.initialize: 0.4 ms [Finished 0.496 s after backend start]
2024-02-12T14:25:26.123Z root INFO Backend P.onStart: 0.7 ms [Finished 0.497 s after backend start]
2024-02-12T14:25:26.123Z config INFO Loading CLI configuration from c:\Users\khalilm\.arduinoIDE\arduino-cli.yaml...
2024-02-12T14:25:26.124Z daemon INFO Starting daemon from C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-02-12T14:25:26.124Z root INFO Backend s.initialize: 0.3 ms [Finished 0.498 s after backend start]
2024-02-12T14:25:26.124Z root INFO Backend w.onStart: 1.1 ms [Finished 0.499 s after backend start]
2024-02-12T14:25:26.124Z root INFO Backend r.configure: 2.0 ms [Finished 0.499 s after backend start]
2024-02-12T14:25:26.124Z discovery-log INFO start
2024-02-12T14:25:26.125Z discovery-log INFO start new deferred
2024-02-12T14:25:26.125Z root INFO Backend d.initialize: 0.3 ms [Finished 0.499 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend y.onStart: 1.9 ms [Finished 0.501 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend r.configure: 2.0 ms [Finished 0.502 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend s.onStart: 0.5 ms [Finished 0.503 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend h.configure: 0.5 ms [Finished 0.503 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend a.configure: 0.3 ms [Finished 0.504 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend s.configure: 0.1 ms [Finished 0.504 s after backend start]
2024-02-12T14:25:26.125Z root INFO Backend l.configure: 0.1 ms [Finished 0.504 s after backend start]
2024-02-12T14:25:26.128Z root INFO Theia app listening on http://localhost:50240.
2024-02-12T14:25:26.128Z root INFO Finished starting backend application: 3.4 ms [Finished 0.507 s after backend start]
2024-02-12T14:25:26.129Z root WARN The local plugin referenced by local-dir:/c%3A/Users/khalilm/.arduinoIDE/extensions does not exist.
2024-02-12T14:25:26.130Z root WARN The local plugin referenced by local-dir:/c%3A/Users/khalilm/.arduinoIDE/plugins does not exist.
2024-02-12T14:25:26.130Z root WARN The local plugin referenced by local-dir:C:\Users\khalilm\.arduinoIDE\plugins does not exist.
2024-02-12T14:25:26.157Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\khalilm\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\staging","user":"h:\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"locale":"en","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"network":{"proxy":"http://192.168.0.203/","user_agent_ext":"daemon"},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-02-12T14:25:26.158Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-02-12T14:25:26.160Z config INFO Loaded the CLI configuration.
2024-02-12T14:25:26.179Z root INFO Resolve plugins list: 56.0 ms [Finished 0.558 s after backend start]
2024-02-12T14:25:26.453Z daemon INFO time="2024-02-12T15:25:26+01:00" level=info msg="Using config file: c:\\Users\\khalilm\\.arduinoIDE\\arduino-cli.yaml"
time="2024-02-12T15:25:26+01:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2024-02-12T15:25:26+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50242
{"IP":"127.0.0.1","Port":"50242"}
2024-02-12T14:25:26.453Z daemon INFO Daemon is running.
2024-02-12T14:25:26.534Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/khalilm/AppData/Local/Arduino15","sketchDirUri":"file:///h%3A/Documents/Arduino","additionalUrls":[],"network":{"protocol":"http","hostname":"192.168.0.203","password":"","username":"","port":""},"locale":"en"}
2024-02-12T14:25:26.534Z config INFO Validating the CLI configuration...
2024-02-12T14:25:26.536Z daemon INFO time="2024-02-12T15:25:26+01:00" level=info msg="Checking signature" index="c:\\Users\\khalilm\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="c:\\Users\\khalilm\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-02-12T14:25:26.738Z config INFO The CLI config is valid.
2024-02-12T14:25:26.738Z config INFO <<< Initialized the CLI configuration.
2024-02-12T14:25:26.743Z daemon INFO time="2024-02-12T15:25:26+01:00" level=info msg="Loading hardware from: c:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages"
time="2024-02-12T15:25:26+01:00" level=info msg="Loading package arduino from: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
time="2024-02-12T15:25:26+01:00" level=info msg="Missing signature file" index="C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json"
time="2024-02-12T15:25:26+01:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded platform" platform="arduino:avr@1.8.6"
time="2024-02-12T15:25:26+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-02-12T15:25:26+01:00" level=info msg="Loading tools from dir: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="arduino:dfu-util@0.11.0-arduino5"
time="2024-02-12T15:25:26+01:00" level=info msg="Loading package builtin from: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\builtin"
time="2024-02-12T15:25:26+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-02-12T15:25:26+01:00" level=info msg="Loading tools from dir: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.6"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.3"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.12.0"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-02-12T15:25:26+01:00" level=info msg="Loading package esp32 from: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware"
time="2024-02-12T15:25:26+01:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded platform" platform="esp32:esp32@2.0.6"
time="2024-02-12T15:25:26+01:00" level=info msg="Missing signature file" index="C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\installed.json"
2024-02-12T14:25:26.807Z daemon INFO time="2024-02-12T15:25:26+01:00" level=info msg="Adding monitor tool" protocol=serial tool="builtin:serial-monitor"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded platform" platform="esp32:esp32@3.0.0-alpha3"
time="2024-02-12T15:25:26+01:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-02-12T15:25:26+01:00" level=info msg="Loading tools from dir: C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\esp32\\tools"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:esp-rv32@2302"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:esp32-arduino-libs@idf-release_v5.1-3662303f31"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.2.1"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:esptool_py@4.6"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:mkspiffs@0.2.3"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.11.0-esp32-20220706"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:openocd-esp32@v0.12.0-esp32-20230921"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:riscv32-esp-elf-gdb@12.1_20221002"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp-elf-gdb@12.1_20221002"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@esp-12.2.0_20230208"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s2-elf-gcc@esp-12.2.0_20230208"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s2-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s3-elf-gcc@esp-12.2.0_20230208"
time="2024-02-12T15:25:26+01:00" level=info msg="Loaded tool" tool="esp32:xtensa-esp32s3-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
time="2024-02-12T15:25:26+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
time="2024-02-12T15:25:26+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\packages\\esp32\\hardware\\esp32\\3.0.0-alpha3\\libraries" location=platform
time="2024-02-12T15:25:26+01:00" level=info msg="Loading libraries index file" index="c:\\Users\\khalilm\\AppData\\Local\\Arduino15\\library_index.json"
2024-02-12T14:25:27.004Z daemon INFO time="2024-02-12T15:25:26+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\khalilm\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-02-12T15:25:26+01:00" level=info msg="Adding libraries dir" dir="h:\\Documents\\Arduino\\libraries" location=user
2024-02-12T14:25:27.132Z root INFO Deploy plugins list: 56.0 ms [Finished 1.511 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-02-12T14:25:27.878Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 135.0 ms [Finished 1.637 s after frontend start]
2024-02-12T14:25:27.879Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-02-12T14:25:28.497Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 550.4 ms [Finished 2.286 s after frontend start]
2024-02-12T14:25:28.630Z root WARN Frontend c.onStart took longer than the expected maximum 100 milliseconds: 131.7 ms [Finished 2.418 s after frontend start]
2024-02-12T14:25:28.657Z root INFO Start frontend contributions: 988.7 ms [Finished 2.426 s after frontend start]
2024-02-12T14:25:28.657Z root INFO Changed application state from 'init' to 'started_contributions'.
2024-02-12T14:25:28.676Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2024-02-12T14:25:28.676Z root INFO >>> Restoring the layout state...
2024-02-12T14:25:28.678Z root INFO ------- SERIALIZED LAYOUT DATA -------
2024-02-12T14:25:28.678Z root INFO {"version":5,"mainPanel":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"code-editor-opener","options":{"counter":0,"kind":"navigatable","uri":"file:///d%3A/ESP32-S3-SOFTWARE-PROBE/Ethernet_OTW_Update_ESP32/Ethernet_OTW_Update_ESP32.ino"}},"innerWidgetState":"{\"cursorState\":[{\"inSelectionMode\":false,\"selectionStart\":{\"lineNumber\":15,\"column\":16},\"position\":{\"lineNumber\":15,\"column\":16}}],\"viewState\":{\"scrollLeft\":0,\"firstPosition\":{\"lineNumber\":1,\"column\":1},\"firstPositionDeltaTop\":0},\"contributionsState\":{\"editor.contrib.folding\":{\"lineCount\":126,\"provider\":\"indent\",\"foldedImports\":false},\"editor.contrib.wordHighlighter\":true}}"}],"currentIndex":0}},"mainPanelPinned":[false],"bottomPanel":{"config":{"main":{"type":"tab-area","widgets":[{"constructionOptions":{"factoryId":"outputView"},"innerWidgetState":"{\"locked\":false}"},{"constructionOptions":{"factoryId":"serial-monitor"}}],"currentIndex":0}},"pinned":[false,false],"size":121,"expanded":true},"leftPanel":{"type":"sidepanel","items":[{"widget":{"constructionOptions":{"factoryId":"arduino-sketchbook-widget"}},"rank":1,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"boards-list-widget"}},"rank":2,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"library-list-widget"}},"rank":3,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"debug"},"innerWidgetState":"{\"parts\":[{\"partId\":\"debug:threads:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:threads\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:frames:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:frames\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:variables:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:variables\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:watch:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:watch\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"debug:breakpoints:-1\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"debug:breakpoints\"},\"innerWidgetState\":\"{}\"}},{\"partId\":\"plugin-view:cortex-debug.peripherals\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.peripherals\",\"viewId\":\"cortex-debug.peripherals\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Peripherals\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}},{\"partId\":\"plugin-view:cortex-debug.registers\",\"collapsed\":true,\"hidden\":true,\"originalContainerId\":\"debug:view-container:-1\",\"originalContainerTitle\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"plugin-view\",\"options\":{\"id\":\"plugin-view:cortex-debug.registers\",\"viewId\":\"cortex-debug.registers\"}},\"innerWidgetState\":\"{\\\"label\\\":\\\"Cortex Registers\\\",\\\"widgets\\\":[],\\\"suppressUpdateViewVisibility\\\":false,\\\"currentViewContainerId\\\":\\\"debug\\\"}\"}}],\"title\":{\"label\":\"debug\",\"iconClass\":\"codicon codicon-debug-alt\",\"closeable\":true}}"},"rank":4,"expanded":false,"pinned":false},{"widget":{"constructionOptions":{"factoryId":"search-view-container"},"innerWidgetState":"{\"parts\":[{\"partId\":\"search-in-workspace\",\"collapsed\":false,\"hidden\":false,\"originalContainerId\":\"search-view-container\",\"originalContainerTitle\":{\"label\":\"Search\",\"iconClass\":\"codicon codicon-search\",\"closeable\":true},\"widget\":{\"constructionOptions\":{\"factoryId\":\"search-in-workspace\"},\"innerWidgetState\":\"{\\\"matchCaseState\\\":{\\\"className\\\":\\\"codicon codicon-case-sensitive\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Case\\\"},\\\"wholeWordState\\\":{\\\"className\\\":\\\"codicon codicon-whole-word\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Match Whole Word\\\"},\\\"regExpState\\\":{\\\"className\\\":\\\"codicon codicon-regex\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Use Regular Expression\\\"},\\\"includeIgnoredState\\\":{\\\"className\\\":\\\"codicon codicon-eye\\\",\\\"enabled\\\":false,\\\"title\\\":\\\"Include Ignored Files\\\"},\\\"showSearchDetails\\\":false,\\\"searchInWorkspaceOptions\\\":{\\\"matchCase\\\":false,\\\"matchWholeWord\\\":false,\\\"useRegExp\\\":false,\\\"includeIgnored\\\":false,\\\"include\\\":[],\\\"exclude\\\":[],\\\"maxResults\\\":2000},\\\"searchTerm\\\":\\\"\\\",\\\"replaceTerm\\\":\\\"\\\",\\\"showReplaceField\\\":false,\\\"searchHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"replaceHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"includeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0},\\\"excludeHistoryState\\\":{\\\"history\\\":[],\\\"index\\\":0}}\"}}],\"title\":{\"label\":\"Search\",\"iconClass\":\"fa fa-arduino-search\",\"closeable\":true}}"},"rank":5,"expanded":false,"pinned":false}]},"rightPanel":{"type":"sidepanel","items":[]},"activeWidgetId":"code-editor-opener:file:///d%3A/ESP32-S3-SOFTWARE-PROBE/Ethernet_OTW_Update_ESP32/Ethernet_OTW_Update_ESP32.ino:0"}
2024-02-12T14:25:28.680Z root INFO ------- END SERIALIZED LAYOUT DATA -------
2024-02-12T14:25:28.727Z root INFO [f110e6af-07aa-4655-8857-7a22b2b7fb4e] Waiting for backend deployment: 91.5 ms [Finished 2.511 s after frontend start]
2024-02-12T14:25:29.171Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980) starting instance
2024-02-12T14:25:29.647Z root INFO [f110e6af-07aa-4655-8857-7a22b2b7fb4e] Sync of 23 plugins: 924.0 ms [Finished 3.436 s after frontend start]
2024-02-12T14:26:50.878Z daemon INFO time="2024-02-12T15:26:50+01:00" level=warning msg="Error loading library" error="rpc error: code = Internal desc = loading library from h:\\Documents\\Arduino\\libraries\\Ethernet: invalid library: no header files found"
2024-02-12T14:26:50.882Z discovery-log INFO start request start watch
2024-02-12T14:26:50.882Z discovery-log INFO start requested start watch
2024-02-12T14:26:50.883Z discovery-log INFO start resolved watching
2024-02-12T14:26:50.885Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="starting discovery builtin:serial-discovery process"
2024-02-12T14:26:50.885Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="starting discovery builtin:mdns-discovery process"
2024-02-12T14:26:50.887Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="started discovery builtin:mdns-discovery process"
time="2024-02-12T15:26:50+01:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.34.0\" to discovery builtin:mdns-discovery"
time="2024-02-12T15:26:50+01:00" level=info msg="started discovery builtin:serial-discovery process"
2024-02-12T14:26:50.888Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="sending command HELLO 1 \"arduino-cli 0.34.0\" to discovery builtin:serial-discovery"
2024-02-12T14:26:50.896Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="from discovery builtin:serial-discovery received message type: hello, message: OK, protocol version: 1"
2024-02-12T14:26:50.897Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="sending command START_SYNC to discovery builtin:serial-discovery"
time="2024-02-12T15:26:50+01:00" level=info msg="from discovery builtin:serial-discovery received message type: start_sync, message: OK"
time="2024-02-12T15:26:50+01:00" level=info msg="from discovery builtin:mdns-discovery received message type: hello, message: OK, protocol version: 1"
time="2024-02-12T15:26:50+01:00" level=info msg="sending command START_SYNC to discovery builtin:mdns-discovery"
time="2024-02-12T15:26:50+01:00" level=info msg="from discovery builtin:mdns-discovery received message type: start_sync, message: OK"
2024-02-12T14:26:50.905Z daemon INFO time="2024-02-12T15:26:50+01:00" level=info msg="from discovery builtin:serial-discovery received message type: add, port: COM8"
2024-02-12T14:26:50.909Z discovery-log INFO {"eventType":"add","port":{"matchingBoardsList":[],"port":{"address":"COM8","label":"COM8","protocol":"serial","protocolLabel":"Serial Port (USB)","propertiesMap":[["pid","0xEA60"],["serialNumber","D8D9DC959C19EC11BA500DB5F01C6278"],["vid","0x10C4"]],"hardwareId":"D8D9DC959C19EC11BA500DB5F01C6278"}},"error":""}
2024-02-12T14:26:51.007Z root INFO <<< The layout has been successfully restored.
2024-02-12T14:26:51.122Z root INFO Initialize the workbench layout: 82342.8 ms [Finished 84.796 s after frontend start]
2024-02-12T14:26:51.125Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2024-02-12T14:26:51.125Z root INFO [f110e6af-07aa-4655-8857-7a22b2b7fb4e] Loading plugin contributions
2024-02-12T14:26:51.126Z root INFO [f110e6af-07aa-4655-8857-7a22b2b7fb4e] Load contributions of 23 plugins: 112.9 ms [Finished 84.910 s after frontend start]
2024-02-12T14:26:51.132Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2024-02-12T14:26:51.133Z root WARN a registered grammar configuration for 'cpp' language is overridden
2024-02-12T14:26:51.865Z root ERROR [hosted-plugin: 980] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.linux as cortex-debug.armToolchainPath is null
2024-02-12T14:26:51.865Z root ERROR [hosted-plugin: 980] Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.osx as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.armToolchainPath.windows as cortex-debug.armToolchainPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.linux as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.osx as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.JLinkGDBServerPath.windows as cortex-debug.JLinkGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.linux as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.osx as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.openocdPath.windows as cortex-debug.openocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.linux as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.osx as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.pyocdPath.windows as cortex-debug.pyocdPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.linux as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.osx as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.PEGDBServerPath.windows as cortex-debug.PEGDBServerPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.linux as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.osx as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stutilPath.windows as cortex-debug.stutilPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.linux as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.osx as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stlinkPath.windows as cortex-debug.stlinkPath is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.linux as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.osx as cortex-debug.stm32cubeprogrammer is null
Conflict in settings file Default: Ignoring cortex-debug.stm32cubeprogrammer.windows as cortex-debug.stm32cubeprogrammer is null
2024-02-12T14:26:51.909Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): PluginManagerExtImpl/init()
2024-02-12T14:26:51.912Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-arduino-api@0.1.2 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.961Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(cortex-debug@1.5.1 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.962Z root INFO [hosted-plugin: 980] Debugger contribution has been registered: cortex-debug
2024-02-12T14:26:51.964Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-arduino-tools@0.0.2-beta.8 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.965Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(cpp@1.52.1 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.966Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(json@1.46.1 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.969Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(json-language-features@1.46.1 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.970Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-bg@1.48.3 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.971Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-cs@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.972Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-de@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.978Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-es@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-fr@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-hu@1.48.3 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-it@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-ja@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-ko@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-nl@1.48.3 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-pl@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.979Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-pt-BR@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-ru@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-tr@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
PLUGIN_HOST(980): initializing(vscode-language-pack-uk@1.48.3 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.981Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-zh-hans@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:51.982Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): initializing(vscode-language-pack-zh-hant@1.78.0 with C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\plugin-vscode-init)
2024-02-12T14:26:52.010Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): PluginManagerExtImpl/loadPlugin(C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-api\extension\dist\extension.js)
2024-02-12T14:26:52.033Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): PluginManagerExtImpl/loadPlugin(C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain)
2024-02-12T14:26:52.096Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): PluginManagerExtImpl/loadPlugin(C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle)
2024-02-12T14:26:52.534Z root INFO Frontend application start: 84693.6 ms [Finished 86.912 s after backend start]
2024-02-12T14:26:52.547Z root INFO Replace loading indicator with ready workbench UI (animation): 1006.7 ms [Finished 85.920 s after frontend start]
2024-02-12T14:26:52.556Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2024-02-12T14:26:52.556Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
2024-02-12T14:26:52.557Z root INFO [f110e6af-07aa-4655-8857-7a22b2b7fb4e] Starting plugins.
Checking for update
2024-02-12T14:26:52.676Z daemon INFO time="2024-02-12T15:26:52+01:00" level=info msg="Updating libraries index"
time="2024-02-12T15:26:52+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-02-12T14:26:52.677Z daemon INFO time="2024-02-12T15:26:52+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-02-12T14:26:52.680Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-02-12T14:26:52.681Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-02-12T14:26:52.682Z daemon INFO time="2024-02-12T15:26:52+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-02-12T14:26:52.683Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": Bad Request
    at t.callErrorFromStatus (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
    at Object.onReceiveStatus (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
    at Object.onReceiveStatus (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
    at C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:833048
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
    at a.updateLibrariesIndex (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
    at C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587296
    at C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587489
    at new Promise (<anonymous>)
    at _.doUpdateIndex (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
    at _.updateLibraryIndex (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587268)
    at _.updateIndex (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586542)
    at E.updateIndex (C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:589376)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-02-12T14:26:52.687Z root INFO [hosted-plugin: 980] PLUGIN_HOST(980): PluginManagerExtImpl/loadPlugin(C:\Users\khalilm\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js)
2024-02-12T14:26:52.721Z root INFO [hosted-plugin: 980] Debug configuration provider has been registered: cortex-debug, trigger: 1
2024-02-12T14:26:52.727Z root INFO [hosted-plugin: 980] GDB server console created
2024-02-12T14:26:52.737Z root INFO [f110e6af-07aa-4655-8857-7a22b2b7fb4e] Start of 23 plugins: 1608.3 ms [Finished 86.524 s after frontend start]
Found version 2.3.0 (url: arduino-ide_2.3.0_Windows_64bit.exe)
2024-02-12T14:26:54.687Z root WARN Widget was activated, but did not accept focus after 2000ms: serial-monitor
2024-02-12T14:26:59.131Z root ERROR ---- !!!SLOW!!! DURATION: search took 6565.689 ms. Args: [{"type":"Updatable"}] ----
[9856:0212/152725.679:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

Hi @hamokhalil. When people report exceptionally slow compilations, we often find that it was caused by security/antivirus software on the user's computer. Arduino IDE creates a large number of short duration processes during the compilation. Some antiviruses do "real-time"/"on access" scanning of processes. The process is blocked until the scan is completed. The added time for each scan is quite significant in relation to the duration of the process, so the total impact of the many scans is a great increase in the length of the compilation.

As an experiment, you can try :warning: TEMPORARILY :warning: disabling the security software/antivirus on your computer for a single compilation to see if the problem goes away:

  1. Disable the security software/antivirus software.
  2. Compile the sketch, just as you did before.
  3. Wait for the compilation to finish.
  4. Immediately enable the security software/antivirus software again.

If the problem doesn't occur when you tried a compilation while the security software was disabled, you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allowlist" so it doesn't interfere with compilation.

:warning: Please be cautious about working with the security software disabled. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the security software so that it does not interfere with the Arduino software.


Arduino IDE does caching during compilation, so subsequent compilations will be faster than the first one. So take care to avoid that unrelated difference throw off your results when you are comparing compilation times.


@ptillisch thank you for your reply.
It had made it little faster but the main problem was something else.
Frankly i have downloaded all my library on the workserver and when compling it took the Arduino IDE long time to link them through internet and compile my sketh.
After copying my libraries from work server in to the harddisk of my computer, it compiles now normaly (takes about a minute depending on the size of the sketch).
Thank you all woh has replied.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.