ElixirLs Debugger on VSCode getting :elixir_ls_expression_timeout

I’m trying to use ElixirLs Debugger on VSCode but once I drop a breakpoint inside a function and when I call it instead the debugger stop on the breakpoint I got:

:elixir_ls_expression_timeout

on my Debug console.

Anyone else passed through that?

1 Like

Are you setting an expression and could that expression be taking longer than 1 second? Currently there’s a hard-coded timeout of 1 second for expressions.

2 Likes

Hey @axelson thanks for helping!

No, there’s not an expression that could be taking longer than 1 second.

I did a simple project from scratch and it happens again.

As you can see here: Dropbox - elixirlsdebuggererror.gif - Simplify your life

1 Like

hey @mingyar.furtado , are you able to solve the

:elixir_ls_expression_timeout issue , I am also facing the same issue.

2 Likes

Unfortunately not @Earth-43.

But, what I’m using on my daily basis to debug is:

IO.inspect() and IO.inspecting(binding())

I hope that helps you as it helps me!

:smiley:

1 Like

Just put up PR’s to make this configurable (and increases the default timeout to 10 seconds):

So this will be improved in the next release of ElixirLS

2 Likes

Thank you @axelson!

1 Like