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:
authorJason Imison <nosami@users.noreply.github.com>2022-06-10 11:39:07 +0300
committerGitHub <noreply@github.com>2022-06-10 11:39:07 +0300
commit7cc29ac19969ffdda3844efd8f9984c90df7430e (patch)
treede4ce40def58a24e76eeff757eb3bb7b2ba04e2f
parent026e0554ef66792b4e838c8d930b53bbf1b73f53 (diff)
parentdd69a9901ba0446d59db1e3e32d6fd73fae186c2 (diff)
Merge pull request #337 from ivorne/master
Version check in AssemblyMirror.GetPdbBlob
-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;