要在计算机指令级设置断点,请使用 stopi 命令。该命令接受任何事件规范。 stopi 命令的语法为:
stopi event-specification [modifier]
stopi [at address] [-if cond] stopi in function [-if cond]
有关更多信息,请参见stopi 命令。
使用 stopi 命令可在特定地址处设置断点:
(dbx) stopi at address
例如:
(dbx) nexti stopped in hand::ungrasp at 0x12638 (dbx) stopi at &hand::ungrasp (3) stopi at &hand::ungrasp (dbx)