Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个对象,并且一堆函数对该对象的状态进行了一些更改(通过更改其成员之一或其成员的成员等等..)。我想检查每个函数所做的更改。有没有办法有一个断点,只要这个对象内部发生变化,就会停止程序执行?
听起来你需要一个现场观察点。看到这个和这个。您必须为您感兴趣的每个字段设置一个观察点。我没有太多使用它们,所以我不知道它们中的许多会对您的程序性能产生什么影响。