I'm trying to debug a program which crashes. In normal circumstances, when the program crashes, I can attach a debugger from an "Application has stopped working" dialog, where you can check online for a solution, close the program or debug.
When I click debug, another dialog pops up asking me to choose a debugger - I pick a new or existing instance of Visual Studio 2010. Debugger launches, then I get another appcrash dialog asking me for debugger, which says "Exception is being thrown from .NET 4.0 code, current debugger is configured to debug .NET 1.0, 1.1 and 2.0 code". Another instance of VS2010 launches, which says "unable to attach to crashing process. A debugger is already attached". (the 1st one).
What other things can I try to debug the program?