diff options
-rw-r--r-- | Mono.Debugging.Soft/SoftDebuggerSession.cs | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/Mono.Debugging.Soft/SoftDebuggerSession.cs b/Mono.Debugging.Soft/SoftDebuggerSession.cs index 0b10d63..b8a9b35 100644 --- a/Mono.Debugging.Soft/SoftDebuggerSession.cs +++ b/Mono.Debugging.Soft/SoftDebuggerSession.cs @@ -2249,23 +2249,22 @@ namespace Mono.Debugging.Soft if (events.Length > 1 && events.Any (a => a.Assembly != asm)) throw new InvalidOperationException ("Simultaneous AssemblyLoadEvent for multiple assemblies"); - var symbolStatus = asm.GetMetadata ().MainModule.HasSymbols ? "Symbol loaded" : "Skipped loading symbols"; - + var assembly = new Assembly ( - asm?.GetMetadata()?.MainModule?.Name, - asm?.Location, + "", + "", + true, true, - asm?.GetMetadata ()?.MainModule?.HasSymbols==true, - symbolStatus, + "", "", -1, - asm?.GetName ()?.Version?.Major.ToString (), + "", // TODO: module time stamp "", - asm?.GetAssemblyObject ()?.Address.ToString (), - string.Format ("[{0}]{1}", asm?.VirtualMachine?.TargetProcess?.Id, asm?.VirtualMachine?.TargetProcess?.ProcessName), - asm?.Domain?.FriendlyName, - asm?.VirtualMachine?.TargetProcess?.Id + "", + "", + "", + 1 ); OnAssemblyLoaded (assembly); |