I am trying to set a watchpoint to monitor a variable in a package consisting of many C ++ files.
There are many files.
abc.cpp qwe.cpp .. xyz.cpp etc.
I want to control the variable "temp" in some qwerty () function in the abc.cpp file. How to set the watchpoint?
I tried
watch abc.cpp :: temp watch abc.cpp: temp watch time
but I see errors There are no characters 'abc.cpp :: temp', 'abc.cpp: temp', 'temp' not in the current context Also, the information checkpoints tell me that no watchpoints are set. Please note that I can successfully set breakpoints for the same variable
source
share