windbg bp condition
生活随笔
收集整理的這篇文章主要介紹了
windbg bp condition
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
0:000> bp 0012f2fc "j @ecx == 0 '';'gc'"
0:000> g
j代表judgement,與c++中的condition?A:B類似。
如果斷點處ecx是0,則停下;否則go until next breakpoint(gc).
?
bp 0012f2fc "j (@@c++(*(int*)(@esp+4) == 0x50)) 'dd esp';'gc'"
?
bp 0012f2fc "j (@@c++(*(int*)(@esp+4) != 0)) '? (dwo(@esp+4))';'gc'"
http://stackoverflow.com/questions/6097157/conditional-breakpoint-that-tests-multiple-stack-variables
轉(zhuǎn)載于:https://www.cnblogs.com/long123king/p/3835572.html
總結
以上是生活随笔為你收集整理的windbg bp condition的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 优化网站性能 提高网站速度访问速度的14
- 下一篇: 写给互联网产品人的进阶感言