Return NULL if debug info is NULL in `get_file` of 'debug.c'.