Added a huge amount of debug information for table bug test #339