Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/debugger-libs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan CHang <jonathan34c@gmail.com>2022-07-07 23:46:27 +0300
committerJonathan CHang <jonathan34c@gmail.com>2022-07-07 23:46:27 +0300
commit68acd3b01ab9593ae842dc1324dfdc32cdc50093 (patch)
treea71bde6d5afaa391769010c11f32c39a7f8f6cb0
parente20f6e191a85b973660a465c0a728d026f1f7f37 (diff)
all default valuedev/t-jochang/unittest
-rw-r--r--Mono.Debugging.Soft/SoftDebuggerSession.cs21
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);