You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-11-06 09:19:38 +02:00
fixed a bunch of things. added basic support for file scanning. logs are now avilable in the UI
This commit is contained in:
@@ -35,8 +35,8 @@ namespace NzbDrone
|
||||
dte2 = (DTE2)System.Runtime.InteropServices.Marshal.
|
||||
GetActiveObject("VisualStudio.DTE.10.0");
|
||||
|
||||
var pa = new ProcessAttacher(dte2, "iisexpress", 20);
|
||||
pa.OptimisticAttachManaged();
|
||||
var pa = new ProcessAttacher(dte2, "iisexpress", 10);
|
||||
pa.PessimisticAttachManaged();
|
||||
}
|
||||
|
||||
|
||||
@@ -87,10 +87,9 @@ namespace NzbDrone
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (ex.Message.Contains("Invalid index."))
|
||||
{
|
||||
return AttachResult.NotRunning;
|
||||
}
|
||||
|
||||
return AttachResult.NotRunning;
|
||||
|
||||
}
|
||||
|
||||
proc.Attach2(eng);
|
||||
|
||||
@@ -41,7 +41,15 @@ namespace NzbDrone
|
||||
//Manually Attach debugger to IISExpress
|
||||
if (Debugger.IsAttached)
|
||||
{
|
||||
ProcessAttacher.Attach();
|
||||
try
|
||||
{
|
||||
ProcessAttacher.Attach();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.Warn("Unable to attach to debugger", e);
|
||||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user