Oracle Solaris Studio 12.2:使用 dbx 调试程序

在地址处设置断点

要在特定地址设置断点,请键入:


(dbx) stopi at address

例如:


(dbx) nexti
stopped in hand::ungrasp at 0x12638
(dbx) stopi at &hand::ungrasp
(3) stopi at &hand::ungrasp
(dbx)