On most of my machines if I have a __debugbreak(); statement in my program Windows will pop up a dialog saying "dummyService.exe has stopped working. Windows can checkonline for a solution to the problem" and shows three options underneath: - "Check online for a solution and close the program" - "Close the program" - "Debug the program"
如果你想要减少由其他方案发起的服务,那是非常有益的。 我不记得做了任何特别的事情,以把这一行为带上我的系统。 在另一个拥有类似配置的机器上,当这项服务启动时,我没有获得与这三种选择相同的通常的辩证,相反,辩证只是说“血压服务”。 外界停止了工作。 视窗正在检查解决问题的办法,显示进展障碍。 没有选择。 在几秒之后,进展节奏停止,第二次方言“你是否希望就该问题提供更多信息?
This happens on Windows 7 Enterprise SP1 with Visual Studio Ultimate SP 1 installed. I suspect that this machine is missing either some registry setting or some options in Visual Studio that enables this debugger attach behavior.
Any tips on how to fix this annoying behavior would be greatly appreciated.
感谢!
Florin