I have an ASP.NET application which is hosted in IIS and for debugging, we Attach To Process and debug. Since yesterday, I am getting an error as
w3wp.exe has triggered a breakpoint. error message
Also, we see the error "Frame not in module"
Is it because our application is throwing an error? Per our investigation No. Also, we tried creating a Sample ASP.NET application and the error is still the same error.
Has there been any windows update? We do not have complete access to security and updates but after a quick check using powershell we did not find anything recently updated.
What we have tried?
- We have looked into a similar issue Frame not in module and tried the solution of checking the "Common Language Runtime Exceptions" box in Exception Settings but that did not help!
- We have tried resetting visual studio setting. Tools - Import and Export Settings - reset all setting
- We have tried enabling/disabling Just my code (Tools - options - Debugging)
- We have tried enabling/disabling Use manage compatibility mode (Tools - options - Debugging)
- Installed visual studio 2022 but that also does not work and throw error like "Unable to attach to the process. Operation not supported" error message