It turned out that if you have an invali_d compiler and then try to debug something, there is no error message shown as it should.
I'm talking about the debugger's branch of course.
I've debugged it a bit and the reason is that the exit code from the compiler is not set to != 0.
I've tried this patch and it works:
Index: src/plugins/compilergcc/compilergcc.cpp
===================================================================
--- src/plugins/compilergcc/compilergcc.cpp	(revision 7860)
+++ src/plugins/compilergcc/compilergcc.cpp	(working copy)
@@ -2387,6 +2387,7 @@
                            _T("Skipping..."),
                            prj->GetTitle().wx_str(), tlist[x].wx_str(), compilerName.wx_str(), compilerName2.wx_str());
                 Manager::Get()->GetLogManager()->LogWarning(msg, m_PageIndex);
+                m_LastExitCode = 1;
                 continue;
             }
             else if (!tgt->SupportsCurrentPlatform())
Index: src/plugins/debuggergdb/debuggergdb.cpp
===================================================================
--- src/plugins/debuggergdb/debuggergdb.cpp	(revision 7860)
+++ src/plugins/debuggergdb/debuggergdb.cpp	(working copy)
@@ -2126,7 +2126,10 @@
 bool DebuggerGDB::CompilerFinished(bool compilerFailed, StartType startType)
 {
     if (compilerFailed || startType == StartTypeUnknown)
+    {
+        m_Canceled = true;
         return false;
+    }
     if (DoDebug(startType == StartTypeStepInto) != 0)
         return false;
     return true;
Is it OK, to commit it? (The m_LastExitCode is going to be committed in trunk).
p.s. Morten can you add me to an exclude list, so I can post about invalid __ compilers?