IT点滴

我不去想是否能够成功 既然选择了远方 便只顾风雨兼程
随笔 - 478, 文章 - 0, 评论 - 53, 阅读 - 67万
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

windbg 之 如何设置模块加载时断下

Posted on   Ady Lee  阅读(782)  评论(0编辑  收藏  举报

这里先介绍两个指令:

sx指令:

The sx* commands control the action that the debugger takes when an exception occurs in the application that is being debugged, or when certain events occur.

sx* 命令用来控制被调试的程序发生某个异常或特定事件时,调试器要采取的动作

sx 命令显示当前进程的异常列表和所有非异常的事件列表,并且显示调试器遇到每个异常和事件时的行为。

sxe

When this exception occurs, the target immediately breaks into the debugger before any other error handlers are activated. This kind of handling is called first chance handling.

当发生该异常时,在任何错误处理器被激活之前目标立即中断到调试器中。这种处理类型称为第一次处理机会

ld指令:

The ld command loads symbols for the specified module and updates all module information.

编辑推荐:
· 软件产品开发中常见的10个问题及处理方法
· .NET 原生驾驭 AI 新基建实战系列:向量数据库的应用与畅想
· 从问题排查到源码分析:ActiveMQ消费端频繁日志刷屏的秘密
· 一次Java后端服务间歇性响应慢的问题排查记录
· dotnet 源代码生成器分析器入门
阅读排行:
· ThreeJs-16智慧城市项目(重磅以及未来发展ai)
· .NET 原生驾驭 AI 新基建实战系列(一):向量数据库的应用与畅想
· Ai满嘴顺口溜,想考研?浪费我几个小时
· Browser-use 详细介绍&使用文档
· 软件产品开发中常见的10个问题及处理方法
点击右上角即可分享
微信分享提示