problem: an exe launched and show in task manager and exited in one second.
1.windbg->launch executable->set exe path
2.set symbol search path
3.clean screen and start
.cls
4.check the exception
!pe
笔者的exception是在加载一个dll时抛出的,通过lm确认这个dll没有加载到进程中,从而确定是dll找不到导致的闪退 over
ModLoad: 000001cf`1fe60000 000001cf`1fee4000 Microsoft.SqlServer.Management.Sdk.Sfc.dll
ModLoad: 000001cf`20130000 000001cf`201b4000 Microsoft.SqlServer.Management.Sdk.Sfc.dll
(6f1c.7718): C++ EH exception - code e06d7363 (first chance)
(6f1c.7718): C++ EH exception - code e06d7363 (first chance)
(6f1c.7718): C++ EH exception - code e06d7363 (first chance)
also you can stop at some symbols load
sxe ld Microsoft.SqlServer.Management.Sdk.Sfc.dll