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

时间:2021-07-16 03:43:27

这里先介绍两个指令:

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 命令显示当前进程的异常列表和所有非异常的事件列表,并且显示调试器遇到每个异常和事件时的行为。

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

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.

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