Oracle® Developer Studio 12.5:使用 dbx 调试程序

退出打印视图

更新时间: 2016 年 6 月
 
 

在计算机指令级设置断点

要在计算机指令级设置断点,请使用 stopi 命令。该命令接受任何事件规范。 stopi 命令的语法为:

stopi event-specification [modifier]

stopi 命令的常用形式如下:

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)