Skip to content

Add support for the Resume Other Threads operation.#2724

Open
SougandhS wants to merge 1 commit into
eclipse-platform:masterfrom
SougandhS:Resume_Others
Open

Add support for the Resume Other Threads operation.#2724
SougandhS wants to merge 1 commit into
eclipse-platform:masterfrom
SougandhS:Resume_Others

Conversation

@SougandhS
Copy link
Copy Markdown
Contributor

This PR adds a new Resume Other Threads action to the Debug view, along with the keyboard shortcut Shift+F8.

The action resumes all suspended threads in the same debug target except the selected thread, allowing developers to continue execution of other threads while keeping the current thread suspended for inspection. Similar functionality is available in other IDEs, making multithreaded debugging workflows more convenient and efficient.

image
ThreadOthers.mp4

@merks
Copy link
Copy Markdown
Contributor

merks commented Jun 5, 2026

That sounds cool!

@SougandhS
Copy link
Copy Markdown
Contributor Author

That sounds cool!

Thanks !

@iloveeclipse
Copy link
Copy Markdown
Member

I would not use same icon for this action as for "Resume", better no icon.

@iloveeclipse
Copy link
Copy Markdown
Member

Would be good to have a test.

@SougandhS
Copy link
Copy Markdown
Contributor Author

I would not use same icon for this action as for "Resume", better no icon.
Would be good to have a test.

Sure 👍

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Test Results

    42 files   -    12     42 suites   - 12   24m 11s ⏱️ - 10m 3s
 3 961 tests  -   710  3 940 ✅  -   708   21 💤  - 1  0 ❌  - 1 
10 020 runs   - 1 887  9 874 ✅  - 1 877  146 💤  - 7  0 ❌  - 3 

Results for commit 8c36f3b. ± Comparison against base commit 4b2964a.

This pull request removes 710 tests.
org.eclipse.ant.tests.ui.APITests ‑ testCompareJavaVersions
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsComplexHierarchyAlias
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsComplexHierarchyMisc
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsComplexHierarchyNoAlias
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsExternalFiles
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsPerformance
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsSimpleHierarchyAlias
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetIncludeTargetsSimpleHierarchyNoAliases
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetTargetsLaunchConfiguration
org.eclipse.ant.tests.ui.AntUtilTests ‑ testGetTargetsLaunchConfigurationMinusD
…

♻️ This comment has been updated with latest results.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new debug command/action, “Resume Others”, intended to resume all suspended threads in the same debug target except the currently selected one, and wires it into the Debug UI (including a Shift+F8 key binding).

Changes:

  • Added a new public core command handler interface (IResumeOthersHandler) plus default implementation and adapter wiring in debug core.
  • Added corresponding Debug UI action/handler/delegate, contributed to the Debug view toolbar/context menu, and registered the command + key binding in plugin.xml.
  • Added new UI strings for the action label.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/launch/LaunchView.java Adds the new action to the Debug view toolbar and context menu.
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ResumeOthersCommandHandler.java Adds UI command handler to support key binding execution.
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ResumeOthersCommandActionDelegate.java Adds workbench action delegate wrapper for the command action.
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/commands/actions/ResumeOthersCommandAction.java Implements the UI action for “Resume Others”.
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.properties Adds label text for the new action.
debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/ActionMessages.java Adds NLS field for the new action text.
debug/org.eclipse.debug.ui/plugin.xml Registers the action contribution, command, and Shift+F8 key binding.
debug/org.eclipse.debug.ui/plugin.properties Adds plugin-level strings for the new command/action.
debug/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/commands/ResumeOthersCommand.java Implements core execution logic for resuming “other” threads.
debug/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/commands/CommandAdapterFactory.java Wires up core adapter for IResumeOthersHandler.
debug/org.eclipse.debug.core/core/org/eclipse/debug/core/commands/IResumeOthersHandler.java Adds the new public handler interface in debug core.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread debug/org.eclipse.debug.ui/plugin.properties Outdated
Comment thread debug/org.eclipse.debug.ui/plugin.properties
Comment thread debug/org.eclipse.debug.ui/plugin.xml
Comment thread debug/org.eclipse.debug.ui/plugin.xml
Introduces a new debug command handler and action that resumes all
suspended threads in the same debug target except the selected thread.
This allows developers to continue execution of other suspended threads
while keeping the current thread suspended for inspection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants