MMC Snapin development: 'MMC not responding' - Is there a timeout that can be set for debugging?
- by Ed Sykes
So I'm writing a snapin for MMC 3. Quite often I have the debugger attached and I'm stepping through some code. MMC has some kind of a fail safe for misbehaving snapins that automatically unloads them after a timeout. The message is 'This snap-in is not responding'. After that MMC can behave as though your snap-in has been unloaded.
fair enough, it's not responding because I'm stepping through the debugger. However, the timeout is very small for development.
Does anyone know of a way of increasing the timeout? I googled and couldn't find anything. Checking the MMC registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC and couldn't see anything there. I also checked the snap-in registry location under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns. No luck.
I feel like there must be a way of increasing the timeout as this is something the devs as Microsoft must have encountered this problem.