This is a simple test:
#include "stdio.h"
int f(int m,int n);
int main(void)
{
int i=2,j=3,k;
k=f(i,j);
printf("%d\n",k);
return 0;
}
int f(int m,int n)
{
return m+n;
}
I find that before enter f() in debug, then f(i,j) displays 5 in watch window, but f(m,n) displays "Not available in current context!". As picture 1 illustrates. After enter f() in debug, then f(i,j) displays "Not available in current context!", and f(m,n) displays 5. As picture 2 illustrates.
According to picture 1, it seems that f(i,j) has been calculated before the debug pointer (the little yellow triangle) enters f().