I wouldn't worry about these informational messages that only appear in a debugger even when programs execute properly.
Apparently, some system DLLs provide additional error reporting when they determine that a debugger is attached to a process. See my response in this thread - why-does-native-only-debugging-cause-windows-dlls.html