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:
-rw-r--r--Mono.Debugger.Soft/Mono.Debugger.Soft/AssemblyMirror.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mono.Debugger.Soft/Mono.Debugger.Soft/AssemblyMirror.cs b/Mono.Debugger.Soft/Mono.Debugger.Soft/AssemblyMirror.cs
index 081f960..4d2b091 100644
--- a/Mono.Debugger.Soft/Mono.Debugger.Soft/AssemblyMirror.cs
+++ b/Mono.Debugger.Soft/Mono.Debugger.Soft/AssemblyMirror.cs
@@ -189,7 +189,9 @@ namespace Mono.Debugger.Soft
if (HasFetchedPdb)
return pdb_blob;
- vm.CheckProtocolVersion (2, 47);
+ if (!vm.Version.AtLeast (2, 47))
+ return null;
+
var blob = vm.conn.Assembly_GetPdbBlob (id);
if (blob != null && blob.Length > 0) {
pdb_blob = blob;