A core feature of Visual Studio that allows developers to inspect, analyze, and troubleshoot code during execution.
Thanks for reaching out. based on what you have described, the issue is that your VSIX extension is loading symbols from the Release output path instead of the Debug build, which prevents proper debugging in Visual Studio 2026.
For you module window, the .dll is loaded from installed extension location (program files) and symbols are loaded from release path (obj/Release/...). This indicates Visual Studio is running the installed VSIX, not the experimental instance with Debug build.
Resolution Steps
- Ensure Debug configuration is active
- Set the solution configuration to Debug
- Rebuild the solution
- Run Correct Startup Project(VSIX)
- Right-click your VSIX project -> Set as Startup project
- Press F5 This should launch the Experimental instance of Visual Studio, not the main installed one. if its not opening Experimental Instance:
- Check .csproj
<StartAction>Program</StartAction> <StartProgram>$(DevEnvDir)devenv.exe</StartProgram> <StartArguments>/rootsuffix Exp</StartArguments>
- Remove installed VSIX (important) Currently your extension is being picked from installed location.
- Go to:
Extensions -> Manage Extensions -> Installed - Uninstall your extension
- Restart Visual Studio
- Go to:
- Verify VSIX manifest assets your manifest currently includes:
Ensure:Asset Type =" Microsoft.VisualStudio.VsPackage"- Output path is not hardcoded to Release
- No prebuilt binaries are referenced
- Disable "Optimize code" for debug in .csproj:
<Optimize>false</Optimize> <DebugType>full</DebugType> - Clear experimental Instance Cache Run:
This ensures no stale extension cache is used.devenv /rootsuffix Exp /resetuserdata - Confirm Symbols Load from Debug Path After F5:
- go to debug -> Windows -> Modules
- Verify:
- Path -> bin\Debug..
- Symbols -> Loaded from debug .pdb
if the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"