Add debug output to GETSTATIC.c