mingyar.furtado

mingyar.furtado

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?

Most Liked

axelson

axelson

Scenic Core Team

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.

Earth-43

Earth-43

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

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

axelson

axelson

Scenic Core Team

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

mingyar.furtado

mingyar.furtado

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

mingyar.furtado

mingyar.furtado

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:

Where Next?

Popular in Questions Top

jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dokuzbir
Hello, I am trying to convert my lists to string without losing brackets.For start i have 3 map. They look like these buyer = %{ id: ...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
wernerlaude
In AR this is so simple @articles = current_user.articles How to do in Ecto? def index(conn, _params) do current_user = conn.assig...
New

Other popular topics Top

bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 45766 226
New
AstonJ
You’re a programmer, so you don’t need spoon feeding with the conventional drivel about “this is an integer.” No. You need to know what’s...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
aesmail
Hello guys, I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New

We're in Beta

About us Mission Statement