MMC Snapin development: 'MMC not responding' - Is there a timeout that can be set for debugging?

Posted by Ed Sykes on Stack Overflow See other posts from Stack Overflow or by Ed Sykes
Published on 2010-06-14T14:32:20Z Indexed on 2010/06/14 15:32 UTC
Read the original article Hit count: 1139

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#2.0