-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let SuperDumpSelector.exe crash in case of an error (#25)
improved superdumpselector.exe to re-used ProcessRunner. it should crash, if superdump.exe crashes. by that, we correctly show a failed analysis.
- Loading branch information
1 parent
e84a64e
commit 93b291f
Showing
11 changed files
with
157 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
|
||
namespace SuperDump.Common { | ||
public class ProcessRunnerException : Exception { | ||
public ProcessRunnerException() { | ||
} | ||
|
||
public ProcessRunnerException(string message) : base(message) { | ||
} | ||
|
||
public ProcessRunnerException(string message, Exception innerException) : base(message, innerException) { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard1.3</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="System.Diagnostics.Process" Version="4.3.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace SuperDumpSelector { | ||
[Serializable] | ||
internal class SuperDumpFailedException : Exception { | ||
public SuperDumpFailedException() { | ||
} | ||
|
||
public SuperDumpFailedException(string message) : base(message) { | ||
} | ||
|
||
public SuperDumpFailedException(string message, Exception innerException) : base(message, innerException) { | ||
} | ||
|
||
protected SuperDumpFailedException(SerializationInfo info, StreamingContext context) : base(info, context) { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Microsoft.Diagnostics.Runtime" version="0.8.31-beta" targetFramework="net46" /> | ||
<package id="System.Console" version="4.3.0" targetFramework="net46" /> | ||
<package id="System.Diagnostics.Process" version="4.3.0" targetFramework="net46" /> | ||
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net46" /> | ||
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net46" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters