Hello @Mlee ,
Thank you for sharing the details of your debugging scenario. Based on your description, the issue seems related to differences in how Windows 11 handles native debugging compared to Windows 10, particularly when attaching to applications that load DLLs. The Win32 exceptions you’re seeing during symbol loading from ntdll.dll and mshtml.dll are often tied to changes in system level debugging behavior and symbol resolution.
Here are a few steps you can try:
- Verify symbol settings
This ensures that your Visual Studio symbol paths are correctly configured. Go to Tools > Options > Debugging > Symbols and confirm that the Microsoft Symbol Servers are enabled. Clear the symbol cache and reload to see if the exceptions persist.
- Check debugger compatibility
Some debugger features behave differently on Windows 11. Try switching between the “Native Only” and “Mixed” debugging modes in your project settings to see if one avoids the exceptions.
- Update Visual Studio
Since you tested with Visual Studio 2019 and 2026, make sure both are fully patched. Debugging improvements and fixes are often included in cumulative updates.
- Test with minimal repro
Create a small sample DLL and attach it to a simple application. If the issue reproduces, it will help isolate whether the problem is environmental (Windows 11 + debugger) or specific to your project.
Hope this helps! If my answer was helpful so far, you can follow this guidance to provide some feedback. This also help another find the solution easier.