From 7b00aa0b7282dda1fd0c9ecfbb63c80a2f9041ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Wed, 11 Jun 2025 01:03:54 +0200 Subject: [PATCH 1/2] Fix register_condition spec argument list --- apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex b/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex index ca7d0cc51..835ba9554 100644 --- a/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex +++ b/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex @@ -17,9 +17,10 @@ defmodule ElixirLS.DebugAdapter.BreakpointCondition do module, module, non_neg_integer, + Macro.Env.t(), String.t(), String.t() | nil, - String.t() + non_neg_integer ) :: {:ok, {module, atom}} | {:error, :limit_reached} def register_condition(name \\ __MODULE__, module, line, env, condition, log_message, hit_count) do From 771c7256a6b489b245aa1a8867c6c1e6cb25cdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Samson?= Date: Wed, 11 Jun 2025 08:38:55 +0200 Subject: [PATCH 2/2] Update apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex --- apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex b/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex index 835ba9554..02c1ec427 100644 --- a/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex +++ b/apps/debug_adapter/lib/debug_adapter/breakpoint_condition.ex @@ -20,7 +20,7 @@ defmodule ElixirLS.DebugAdapter.BreakpointCondition do Macro.Env.t(), String.t(), String.t() | nil, - non_neg_integer + String.t() ) :: {:ok, {module, atom}} | {:error, :limit_reached} def register_condition(name \\ __MODULE__, module, line, env, condition, log_message, hit_count) do