0

I have an object and a bunch of functions make some changes to the state of this object (by changing one of its members or a member of its members and so on..). I want to inspect the changes made by each of these functions. Is there a way to have a break point which will halt the program execution whenever something is changed inside this object?

user1009285
  • 165
  • 1
  • 1
  • 11

1 Answers1

0

It sounds like you need a field watch point. See this and this. You will have to set one watch point for each field in which you are interested. I've not used them much so I don't know what impact many of them will have on the performance of your program.

matt helliwell
  • 2,574
  • 16
  • 24
  • I have tried it out. But that does not seem to work after the object is created. I wanted a breakpoint for any change in its subojects as well. – user1009285 Oct 05 '16 at 20:35