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.
谁能告诉我如何在 Eclipse (C++) 中设置内存断点?
例如:
int a = 0; for(int i = 0; i < 100; i++) { if(i == 50) a = 50; }
我想检测将 a 分配给新值时的操作。
a我知道在 Visual Studio 中我们应该通过获取(ie &a)的地址来设置内存断点。Eclipse中有等效的方法吗?
a
&a
您的帮助将不胜感激。谢谢。
也许这有帮助: http ://www.linuxtopia.org/online_books/eclipse_documentation/eclipse_c_c++_guide/topic/org.eclipse.cdt.doc.user/tasks/eclipse_c_c++_guide_cdt_t_add_watch.htm