I have a code snippet similar to this :
int test( /* some arguments */)
{
ret = func(/* some arguments */)
if (ret < 0)
{
/* do this */
}
/* do this */
return ret;
}
the function func is returning -1 for some erroneous condition inside the function. This erroneous condition occurs once in 100 times the test function is called - so I put breakpoint in if (ret < 0) line. Now I want to debug what's going on inside the function func(). How do I do it when the breakpoint is hit in test function at the said line.
funcinstead?