---
featureId: agentic-issue-to-resolution
title: Agentic Issue to Resolution
area: Debugging & diagnostics
thumbnailImage: ../media/agentic-issue-to-resolution.png
devComUrl: 
description: Agentic Bug Resolution helps you find and fix bugs with runtime-proofed, interactive AI guidance.

---


We are introducing a new Debugger Agent workflow in Visual Studio that validates bugs against real runtime behavior instead of relying on static analysis guesses. The experience walks you through a complete agentic loop from understanding and reproducing the issue, to instrumenting the application, isolating the root cause, and validating the fix through live execution.

You can start from an issue in GitHub or Azure DevOps, or simply describe the bug or code behavior in natural language. The Debugger Agent uses this input to map the problem directly to your local source and guide you through resolution. Unlike static approaches, you can interact with the agent during the debugging process to provide more input, discuss your theory, or refine the fix in real time.

![Video showing agentic issue to resolution](../media/agentic-issue-to-resolution.mp4)

How the agentic loop works:

* **Context Injection** – Provide an issue link or describe the bug in Debugger Mode in Copilot Chat (you can switch modes using the dropdown in the lower-left corner of the chat). The agent connects the report to your local code.
* **Autonomous Reproducer** – The agent analyzes the bug description and, if reproduction steps are missing, creates a minimal scenario to trigger the failure automatically.
* **Hypothesis & Instrumentation** – It generates failure hypotheses and instruments your app with tracepoints and conditional breakpoints to capture runtime state.
* **Runtime Validation** – The agent runs the debug session and analyzes live telemetry to isolate the root cause.
* **Targeted Correction** – It suggests a precise fix at the exact failure point rather than broad refactoring.
* **Final Human Validation** – You rerun the scenario and confirm the fix in the live environment alongside the agent.
