Visual studio: set a data breakpoint at a memory ACCESS (i.e. when data is READ) -


i need figure out when fortran project reading element of vector. use data breakpoint on daily basis not find way set data breakpoint when code access (i.e. read) memory address, while set breaking when address modified. there way on visual studio 2010? (i use intel visual fortran compose xe 2011 compiler). or maybe updating more recent visual studio? note, saw here gdb can set breakpoint on 'memory access' in gdb? a.

ps: emaild guys gdb , said not possible it.see answer below:

hello, type of created watchpoint hardcoded "write". because visual studio has no support other types of watchpoints (in gui , infrastructure). perhaps possible enable read watchpoints in gdb console, require hack, console works "through" visual studio (it not pass commands directly gdb). not sure whether feature works in gdb. gdb has lot of commands have limited target scope, e.g. work single threaded programs, or linux , not when using gdbserver, etc. read watchpoint looks mechanism platform dependent. please check if gdb platform supports read watchpoints. let know if feature critical you.

best regards


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -