Skip to content

add a fallback message for unsupported RWD configs#14516

Open
bobbrow wants to merge 1 commit into
mainfrom
bobbrow/rwdMessage
Open

add a fallback message for unsupported RWD configs#14516
bobbrow wants to merge 1 commit into
mainfrom
bobbrow/rwdMessage

Conversation

@bobbrow

@bobbrow bobbrow commented Jun 15, 2026

Copy link
Copy Markdown
Member

Fixes: #14515

Copilot AI left a comment

Copy link
Copy Markdown

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 updates the debug adapter descriptor factories to emit an explicit user-facing message when a noDebug launch config can’t use the inline Run Without Debugging adapter, and the extension instead proceeds by using the regular debug adapter pathway.

Changes:

  • Add a new logFallbackMessage() helper to log a generic fallback message.
  • Invoke logFallbackMessage() for both cppdbg and cppvsdbg when noDebugSupported() returns false.

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

Comment on lines +109 to 113
function logFallbackMessage(): void {
const outputChannel = getOutputChannel();
outputChannel.appendLine(localize("debugger.fallback.message", "Falling back to a regular debug session."));
outputChannel.show(true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pull Request

Development

Successfully merging this pull request may close these issues.

"Run Without Debugging is not supported" message, even though it works

2 participants