Debugging: Stop on memory access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible, in Visual Studio 2003 and CE, to set a breakpoint based on memory access, instead of line of code? Such as 'stop wherever this object is accessed'.

It used to be possible in unmanaged code, but I can't find how to do it in .NET.
 
Since managed code really hides real memory addresses behind the scenes, I
don't think that it would make sense to break on an access to some explicit
address (0xa0cc0004 or something like that).

Paul T.

Carlos Fernandez said:
Is it possible, in Visual Studio 2003 and CE, to set a breakpoint based on
memory access, instead of line of code? Such as 'stop wherever this object
is accessed'.
 
Back
Top