|
|
@ -7,6 +7,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
using System; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Collections.Generic; |
|
|
|
|
|
|
|
using System.Diagnostics; |
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
using System.IO; |
|
|
|
using System.IO; |
|
|
|
using System.Reflection; |
|
|
|
using System.Reflection; |
|
|
@ -118,9 +119,15 @@ namespace ICSharpCode.SharpDevelop.Sda |
|
|
|
StartWorkbenchCommand wbc = new StartWorkbenchCommand(); |
|
|
|
StartWorkbenchCommand wbc = new StartWorkbenchCommand(); |
|
|
|
wbc.AllowTipOfTheDay = wbSettings.UseTipOfTheDay; |
|
|
|
wbc.AllowTipOfTheDay = wbSettings.UseTipOfTheDay; |
|
|
|
callback.BeforeRunWorkbench(); |
|
|
|
callback.BeforeRunWorkbench(); |
|
|
|
|
|
|
|
if (Debugger.IsAttached) { |
|
|
|
|
|
|
|
wbc.Run(wbSettings.InitialFileList); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
try { |
|
|
|
wbc.Run(wbSettings.InitialFileList); |
|
|
|
wbc.Run(wbSettings.InitialFileList); |
|
|
|
} catch (Exception ex) { |
|
|
|
} catch (Exception ex) { |
|
|
|
exception = ex; |
|
|
|
exception = ex; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} finally { |
|
|
|
} finally { |
|
|
|
LoggingService.Info("Unloading services..."); |
|
|
|
LoggingService.Info("Unloading services..."); |
|
|
|
try { |
|
|
|
try { |
|
|
|