Windbg解决一个闪退

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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容