diff options
Diffstat (limited to 'Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs')
-rw-r--r-- | Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs b/Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs index b125943..6353ba6 100644 --- a/Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs +++ b/Mono.Debugging/Mono.Debugging.Client/DebuggerSessionOptions.cs @@ -1,4 +1,4 @@ -// +// // DebuggerSessionOptions.cs // // Author: @@ -25,6 +25,8 @@ // THE SOFTWARE. using System; +using System.Collections.Generic; +using System.Collections.Immutable; namespace Mono.Debugging.Client { @@ -44,5 +46,28 @@ namespace Mono.Debugging.Client public bool ProjectAssembliesOnly { get; set; } public AutomaticSourceDownload AutomaticSourceLinkDownload { get; set; } public bool DebugSubprocesses { get; set; } + public ImmutableArray<SymbolSource> SymbolSearchPaths { get; set; } = ImmutableArray<SymbolSource>.Empty; + public bool SearchMicrosoftSymbolServer { get; set; } + public bool SearchNuGetSymbolServer { get; set; } + } + + [Serializable] + public class SymbolSource + { + public SymbolSource () + { + // For deserialization + } + + public SymbolSource (string path, string name, bool isEnabled) + { + Path = path; + Name = name; + IsEnabled = isEnabled; + } + + public string Name { get; set; } + public string Path { get; set; } + public bool IsEnabled { get; set; } } } |