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是在加載一個(gè)dll時(shí)拋出的安吁,通過lm確認(rèn)這個(gè)dll沒有加載到進(jìn)程中兵多,從而確定是dll找不到導(dǎo)致的閃退 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