Share via

Debug with Chat Visual Studio 2026

Pip 265 Reputation points
2026-02-23T09:51:31.13+00:00

Hi,

I see that in version of Visual Studio 2026, there is Debug with Chat.

Where I can use it in all projects types?

Only on C# languages?

In unit tests it works?

Can you give how does it works behind the scene to understand how to work with it?

What is the best practice how to use it.

My experience:

When I tried to used it, Visual Studio ask me for confirmation to continue with the process when he hit a breakpoint, can you explain this?

Thanks in advance,

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

{count} votes

1 answer

Sort by: Most helpful
  1. Varsha Dundigalla(INFOSYS LIMITED) 4,780 Reputation points Microsoft External Staff
    2026-02-23T13:34:47.23+00:00

    Thank you for reaching out.

    Debug with Chat in Visual Studio 2026 works during a normal debugging session. It can be used in project types that support debugging in Visual Studio and is commonly used with .NET projects. It also works when debugging unit tests, where it can help explain test failures and debugging results.

    When the debugger hits a breakpoint, Visual Studio may ask for confirmation before continuing. This happens because it needs permission to read additional debugging information such as variable values, call stack details, and runtime output. This confirmation is expected behavior and is meant to ensure you are aware of what debug data is being accessed.

    The message shown with the response simply indicates that the explanation is based on the current debugging context. No code changes are applied automatically, and you remain in control of how to proceed.

    In short, this feature helps you understand what is happening during debugging, asks for confirmation when extra debug context is needed, and does not make any changes unless you choose to do so.

    Please let us know if you require any further assistance, we’re happy to help. If you found this information useful, kindly mark this as "Accept Answer". So that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.