Skip to content
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

Allow user to terminate compilation and upload processes #1199

Open
3 tasks done
dahmadjid opened this issue Jul 16, 2022 · 8 comments · Fixed by #2334
Open
3 tasks done

Allow user to terminate compilation and upload processes #1199

dahmadjid opened this issue Jul 16, 2022 · 8 comments · Fixed by #2334
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@dahmadjid
Copy link

dahmadjid commented Jul 16, 2022

Describe the request

Provide a way for the user to terminate the compilation and upload processes.

Describe the current behavior

In some cases, it is clear to the user that a compile or upload process is going to fail. Currently, they must wait through what is sometimes a lengthy process until it fails before they can make another attempt.

This is especially prevalent for uploads due to the common design of upload tools (e.g., AVRDUDE, rp2040load) to pointlessly retry a failed upload over and over again, even though if the process failed the first time, it is certain to fail on the retries as well.

Arduino IDE version

d6a4b0f

Operating system

  • Windows
  • Linux

Operating system version

  • Windows 10
  • Linux Manjaro

Additional context

Additional reports

Keywords

  • cancel

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details
@dahmadjid dahmadjid added the type: enhancement Proposed improvement label Jul 16, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Jul 17, 2022
@per1234
Copy link
Contributor

per1234 commented Jul 18, 2022

Thanks for your suggestion @dahmadjid. For the sake of making all the relevant information available to the interested parties, I'll add a link to the equivalent feature request for Arduino IDE 1.x: arduino/Arduino#5928

There is some valuable discussion and information in that issue and the issues linked off it.

@johnerrington

This comment was marked as duplicate.

kittaakos pushed a commit that referenced this issue Feb 5, 2024
Closes #1199

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Feb 8, 2024
Closes #1199

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Feb 9, 2024
Closes #1199

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Feb 15, 2024
Closes #1199

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Feb 20, 2024
Closes #1199

Signed-off-by: Akos Kitta <[email protected]>
kittaakos pushed a commit that referenced this issue Feb 20, 2024
Closes #1199

Signed-off-by: Akos Kitta <[email protected]>
@kittaakos kittaakos added the conclusion: resolved Issue was resolved label Feb 20, 2024
@Eheran1
Copy link

Eheran1 commented Mar 10, 2024

I have the IDE version 2.3.2 from 2 weeks ago, this feature is missing or I did not find it. Will this come with a later version or did I not see it?

@kittaakos
Copy link
Contributor

It's in the nightly build: https://www.arduino.cc/en/software#nightly-builds

@alsavage
Copy link

alsavage commented May 1, 2024

Really cool that it's in the nightly build of 6 weeks ago . . . but where is it documented?

IOW, what is the keystroke shortcut?

@Eheran1

This comment was marked as spam.

@arduino arduino locked as too heated and limited conversation to collaborators Aug 8, 2024
@per1234 per1234 reopened this Sep 26, 2024
@per1234
Copy link
Contributor

per1234 commented Sep 26, 2024

Unfortunately, even though a "CANCEL" button was added in #2334, it turns out that the button doesn't actually terminate the underlying process (#2517), so the requested feature has not been implemented.

@per1234 per1234 removed the conclusion: resolved Issue was resolved label Sep 26, 2024
@cmaglie cmaglie self-assigned this Oct 8, 2024
@cmaglie cmaglie removed their assignment Oct 8, 2024
@cmaglie
Copy link
Member

cmaglie commented Oct 24, 2024

The upstream issue should be now fixed in arduino/arduino-cli#2726.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants