Suppose I have this function:
std::string Func1(std::string myString)
{
//do some string processing
std::string newString = Func2(myString)
return newString;
}
how do I set a conditional break when newString
has a specific value ? (without changing the source)
setting a condition newString == "my value"
didn't work the breakpoints got disabled with an error "overloaded operator not found"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…