debugging - Debug Memory Overwrite in MSVC -
debugging - Debug Memory Overwrite in MSVC -
i using msvc seek figure out memory overwritten. utilize info breakpoint in msvc memory address. stops when memory changes , see hex values beingness changed , low level code in windows (pop off list etc).
my question how msvc stop when memory changed instead of showing me memory hex values show me line of c code causing this?
thanks in advance.
there's no direct answer. when programme suspended, can see phone call stack of each thread of program, , analyse it. see show threads window: debug->windows->threads
. chose thread double clicking , window phone call stack (debug->windows->call stack
) analyse uppermost functions in list.
debugging visual-c++ memory breakpoints
Comments
Post a Comment