We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4a06b commit ccc5b36Copy full SHA for ccc5b36
apps/elixir_ls_debugger/lib/debugger/server.ex
@@ -414,6 +414,9 @@ defmodule ElixirLS.Debugger.Server do
414
defp evaluate_code_expression(expr, bindings, timeout) do
415
task =
416
Task.async(fn ->
417
+ receive do
418
+ :continue -> :ok
419
+ end
420
try do
421
{term, _bindings} = Code.eval_string(expr, bindings)
422
term
@@ -423,6 +426,7 @@ defmodule ElixirLS.Debugger.Server do
423
426
end)
424
427
425
428
Process.unlink(task.pid)
429
+ send(task.pid, :continue)
430
431
result = Task.yield(task, timeout) || Task.shutdown(task)
432
0 commit comments