One more thing,
After confirming if that does have something to do files and parsing, we (i mean you) will have to use ProcMon or the great ApiMonitor to compare how the
IDE and its debugger behave and fail if there is a failure on some IO
access, or did they read the whole TDS info or stopped parsing the header.