由于某些原因,我无法在Visual Studio中调试我的C#程序!
- >在调试模式下运行并且VS挂起(没有步骤,调用堆栈中没有任何内容)
输出消息:
'TestKeyManagerApp.exe': Loaded 'C:\projects\KeyManagerServer\TestKeyManagerApp\bin\Debug\TestKeyManagerApp.exe', No native symbols in symbol file.
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\ntdll.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\verifier.dll'
Page heap: pid 0x1388: page heap enabled with flags 0x3.
AVRF: TestKeyManagerApp.exe: pid 0x1388: flags 0x80643027: application verifier enabled
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\vrfcore.dll', Symbols loaded.
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\vfbasics.dll', Symbols loaded.
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\mscoree.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\kernel32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\KernelBase.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\advapi32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\msvcrt.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\sechost.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\rpcrt4.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\shlwapi.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\gdi32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\user32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\lpk.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\usp10.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\imm32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\msctf.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\msvcr80.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\shell32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\ole32.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\profapi.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Culture.dll'
'TestKeyManagerApp.exe': Unloaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Culture.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\assembly\NativeImages_v2.0.50727_32\mscorlib\acfc1391e45fedd2a359778ea57d914c\mscorlib.ni.dll'
'TestKeyManagerApp.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\cryptbase.dll'
'TestKeyManagerApp.exe': Loaded 'C:\Windows\System32\uxtheme.dll'
当我停止非功能调试器时,我必须等待大约。 6/7秒!
请有人帮帮我! (仅出现在此项目中)
答案 0 :(得分:0)
我删除了项目并创建了一个新项目并将现有文件复制到新项目中!之后我就可以调试了!奇怪!