[Lldb-commits] [lldb] [lldb-dap] Allow providing debug adapter arguments in the extension (PR #129262)

John Harrison via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 14 15:18:00 PDT 2025


================
@@ -0,0 +1,130 @@
+import * as child_process from "node:child_process";
+import * as vscode from "vscode";
+
+function areArraysEqual<T>(lhs: T[], rhs: T[]): boolean {
+  if (lhs.length !== rhs.length) {
+    return false;
+  }
+  for (let i = 0; i < lhs.length; i++) {
+    if (lhs[i] !== rhs[i]) {
+      return false;
+    }
+  }
+  return true;
+}
----------------
ashgti wrote:

nit: Nodejs does include a utility for this https://nodejs.org/docs/latest/api/util.html#utilisdeepstrictequalval1-val2 

https://github.com/llvm/llvm-project/pull/129262


More information about the lldb-commits mailing list