h****4 发帖数: 39 | 1 1. A loop with 1,000,000 iterations fails more than half-way through. How
can we get information before the failure?
2. A global variable is changed unexpectedly causing a crash. How can we
locate the line of code that causes the variable to change?
谢谢各位 | c****s 发帖数: 241 | 2 1. 用condition breakpoint
2. attach WinDbg or VS when crash happens.
【在 h****4 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 1. A loop with 1,000,000 iterations fails more than half-way through. How : can we get information before the failure? : 2. A global variable is changed unexpectedly causing a crash. How can we : locate the line of code that causes the variable to change? : 谢谢各位
| a****n 发帖数: 1887 | 3 1。用binary search的方式设条件断点
2。内存断点
【在 c****s 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 1. 用condition breakpoint : 2. attach WinDbg or VS when crash happens.
| h****4 发帖数: 39 | |
|