Browse Source

Don't show MessageBox when running unit tests on build server.

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/3.0@5057 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 16 years ago
parent
commit
1d42e43287
  1. 5
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Internal/ManagedCallback.cs

5
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Internal/ManagedCallback.cs

@ -276,7 +276,10 @@ namespace Debugger @@ -276,7 +276,10 @@ namespace Debugger
"Project -> Project Options -> Compiling -> Target CPU = 32-bit Intel";
}
System.Windows.Forms.MessageBox.Show(errorText);
if (Environment.UserInteractive)
System.Windows.Forms.MessageBox.Show(errorText);
else
throw new DebuggerException(errorText);
try {
pauseOnNextExit = true;

Loading…
Cancel
Save