Created
February 24, 2020 02:41
-
-
Save kangaroo/883b9a6e26c1c76780fccf41f23a629e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index 347024e..164987b 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -299,6 +299,25 @@ | |
"installTestPath": "./.debugger/vsdbg-ui", | |
"integrity": "2F6657B3D3C1044E9293F9C7E498AF283600DEAAF052975EBFBDD1296C8C6C05" | |
}, | |
+ { | |
+ "id": "Debugger", | |
+ "description": ".NET Core Debugger (linux / armv7l)", | |
+ "url": "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-22-0/coreclr-debug-linux-arm.zip", | |
+ "fallbackUrl": "https://vsdebugger.blob.core.windows.net/coreclr-debug-1-22-0/coreclr-debug-linux-arm.zip", | |
+ "installPath": ".debugger", | |
+ "platforms": [ | |
+ "linux" | |
+ ], | |
+ "architectures": [ | |
+ "armv7l" | |
+ ], | |
+ "binaries": [ | |
+ "./vsdbg-ui", | |
+ "./vsdbg" | |
+ ], | |
+ "installTestPath": "./.debugger/vsdbg-ui", | |
+ "integrity": "404AA0EDD518FD6D4E449C09090DE25C7CAC2862AE743CFC7F4D100E5DF75F87" | |
+ }, | |
{ | |
"id": "Razor", | |
"description": "Razor Language Server (Windows / x64)", | |
diff --git a/src/coreclr-debug/activate.ts b/src/coreclr-debug/activate.ts | |
index 5342ec7..1da9330 100644 | |
--- a/src/coreclr-debug/activate.ts | |
+++ b/src/coreclr-debug/activate.ts | |
@@ -35,6 +35,9 @@ async function checkForInvalidArchitecture(platformInformation: PlatformInformat | |
eventStream.post(new DebuggerPrerequisiteFailure("[ERROR] The debugger cannot be installed. The debugger requires macOS 10.12 (Sierra) or newer.")); | |
return true; | |
} | |
+ else if (platformInformation.architecture === 'armv7l' && platformInformation.isLinux()) { | |
+ return false; | |
+ } | |
else if (platformInformation.architecture !== "x86_64") { | |
if (platformInformation.isWindows() && platformInformation.architecture === "x86") { | |
eventStream.post(new DebuggerPrerequisiteWarning(`[WARNING]: x86 Windows is not currently supported by the .NET Core debugger. Debugging will not be available.`)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment