Could anyone tell me how to set memory breakpoint in Eclipse (C++)?
for example:
int a = 0;
for(int i = 0; i < 100; i++)
{
if(i == 50) a = 50;
}
I want to detect the action when a is assigned to a new value.
I know in Visual Studio we should set memory break point by getting the address of a
(ie &a
). Is there an equivalent way in Eclipse?
Your help would be highly appreciated. Thanks.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.