This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb: debugging memory location changes.


 > I am debugging large code I am not familiar with. I noticed that
 > memory location, for example funnyObject.field, changes somewhere in
 > the code and I do not know where, thus I do not know where to set the
 > breakpoint. Can gdb find such places in the code for me?

Read about watchpoints in the Breakpoints node of the Gdb info manual.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]