Watch a memory location/install 'data breakpoint' from code?

前端 未结 5 1067
迷失自我
迷失自我 2020-12-21 04:37

We have a memory overwrite problem. At some point, during the course of our program, a memory location is being overwritten and causing our program to crash. the problem hap

5条回答
  •  失恋的感觉
    2020-12-21 04:53

    assuming you're using windows use windbg to debug your program and check out the ba command-this will break when the memory is accessed.

提交回复
热议问题