From Unhandled Exception to Debugger Attach

I was always wondering what is happening between an application throws an unhandled exception, and a debugger attached to the process. Apparently the information is right under my nose, but I was blind. Windows Debugger’s documentation about post-mortem debugging has all the details you want to know. Enabling Postmortem Debugging The most common application errors…

1

Assembly Loading and Authorization

CLR does not do anything special regarding authorization during assembly loading. It will try to access the file under the current user. However, if an assembly is already loaded, next time when the assembly is requested, CLR will return the assembly from the cache without hitting the file. When the application impersonates a user, things…

0

Mismatched PDBs — Why?

If you are developing software, most likely you have encountered the “mismatched pdbs” debugger error. It usually happens when you point the debugger to the wrong symbol path. But there are times you are confident that the symbols you point to are the correct symbols, and it left you wondering why the debugger believes the…

5