I have c code like.
FILE * fin = fopen("myfile", "rb");
if (fin == NULL)
{
printf("file myfile does not exist, closing");
return false;
}
It works when compiled, but not in debugging mode (stepping trough) where it return false. checking argv[0] is ok and absolute paths are working both ways.