Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run/debug IEx or IEx MIx #3673

Open
Levyks opened this issue Jan 17, 2025 · 0 comments
Open

Cannot run/debug IEx or IEx MIx #3673

Levyks opened this issue Jan 17, 2025 · 0 comments

Comments

@Levyks
Copy link

Levyks commented Jan 17, 2025

Describe the bug
Cannot run/debug IEx or IEx MIx

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Elixir project from your IDE
  2. Create a run/debug configuration choosing IEx or IEx Mix
  3. Try to run and/or debug it

Expected behavior
IEx should start without crashing

Logs
When trying to debug:

/lib64/erlang/bin/erl -pa /usr/lib64/erlang/lib/asn1-5.3.1/ebin -pa /usr/lib64/erlang/lib/common_test-1.27.4/ebin -pa /usr/lib64/erlang/lib/compiler-8.5.3/ebin -pa /usr/lib64/erlang/lib/crypto-5.5.1/ebin -pa /usr/lib64/erlang/lib/edoc-1.3.2/ebin -pa /usr/lib64/erlang/lib/eldap-1.2.13/ebin -pa /usr/lib64/erlang/lib/erl_interface-5.5.2/ebin -pa /usr/lib64/erlang/lib/erts-15.1.3/ebin -pa /usr/lib64/erlang/lib/eunit-2.9.1/ebin -pa /usr/lib64/erlang/lib/ftp-1.2.3/ebin -pa /usr/lib64/erlang/lib/inets-9.3/ebin -pa /usr/lib64/erlang/lib/kernel-10.1.2/ebin -pa /usr/lib64/erlang/lib/megaco-4.6/ebin -pa /usr/lib64/erlang/lib/mnesia-4.23.2/ebin -pa /usr/lib64/erlang/lib/odbc-2.15/ebin -pa /usr/lib64/erlang/lib/os_mon-2.10/ebin -pa /usr/lib64/erlang/lib/parsetools-2.6/ebin -pa /usr/lib64/erlang/lib/public_key-1.16.4/ebin -pa /usr/lib64/erlang/lib/runtime_tools-2.1.1/ebin -pa /usr/lib64/erlang/lib/sasl-4.2.2/ebin -pa /usr/lib64/erlang/lib/snmp-5.17/ebin -pa /usr/lib64/erlang/lib/ssh-5.2.4/ebin -pa /usr/lib64/erlang/lib/ssl-11.2.5/ebin -pa /usr/lib64/erlang/lib/stdlib-6.1.2/ebin -pa /usr/lib64/erlang/lib/syntax_tools-3.2.1/ebin -pa /usr/lib64/erlang/lib/tftp-1.2.1/ebin -pa /usr/lib64/erlang/lib/tools-4.1/ebin -pa /usr/lib64/erlang/lib/xmerl-2.1/ebin -pa /usr/lib/elixir/lib/eex/ebin -pa /usr/lib/elixir/lib/elixir/ebin -pa /usr/lib/elixir/lib/ex_unit/ebin -pa /usr/lib/elixir/lib/iex/ebin -pa /usr/lib/elixir/lib/logger/ebin -pa /usr/lib/elixir/lib/mix/ebin -elixir ansi_enabled true -name [email protected] -setcookie 78d8e03c-beef-4d04-988c-16f801c95a03 -eval application:ensure_all_started(elixir) -eval 'Elixir.Code':require_file(<<\"/tmp/intellij_elixir3/debugger/lib/intellij_elixir/debugger/server.ex\">>) -eval 'Elixir.Code':require_file(<<\"/tmp/intellij_elixir3/debugger/lib/intellij_elixir/debugged.ex\">>) -eval 'Elixir.Code':require_file(<<\"/tmp/intellij_elixir3/debugger/lib/mix/tasks/intellij_elixir/debug.ex\">>) -noshell -s elixir start_iex -user elixir -extra +iex --no-halt -S /usr/lib/elixir/bin/mix do intellij_elixir.debug, run
Erlang/OTP 27 [erts-15.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

     warning: single-quoted strings represent charlists. Use ~c"" if you indeed want a charlist or use "" instead.
     You may run "mix format --migrate" to fix this warning automatically.
     │
 111 │       |> Stream.reject(&(&1 == '.'))
     │                                ~
     │
     └─ /tmp/intellij_elixir3/debugger/lib/intellij_elixir/debugger/server.ex:111:32

** (Mix) The task "intellij_elixir.debug" could not be found

When trying to run:

/lib64/erlang/bin/erl -pa /usr/lib64/erlang/lib/asn1-5.3.1/ebin -pa /usr/lib64/erlang/lib/common_test-1.27.4/ebin -pa /usr/lib64/erlang/lib/compiler-8.5.3/ebin -pa /usr/lib64/erlang/lib/crypto-5.5.1/ebin -pa /usr/lib64/erlang/lib/edoc-1.3.2/ebin -pa /usr/lib64/erlang/lib/eldap-1.2.13/ebin -pa /usr/lib64/erlang/lib/erl_interface-5.5.2/ebin -pa /usr/lib64/erlang/lib/erts-15.1.3/ebin -pa /usr/lib64/erlang/lib/eunit-2.9.1/ebin -pa /usr/lib64/erlang/lib/ftp-1.2.3/ebin -pa /usr/lib64/erlang/lib/inets-9.3/ebin -pa /usr/lib64/erlang/lib/kernel-10.1.2/ebin -pa /usr/lib64/erlang/lib/megaco-4.6/ebin -pa /usr/lib64/erlang/lib/mnesia-4.23.2/ebin -pa /usr/lib64/erlang/lib/odbc-2.15/ebin -pa /usr/lib64/erlang/lib/os_mon-2.10/ebin -pa /usr/lib64/erlang/lib/parsetools-2.6/ebin -pa /usr/lib64/erlang/lib/public_key-1.16.4/ebin -pa /usr/lib64/erlang/lib/runtime_tools-2.1.1/ebin -pa /usr/lib64/erlang/lib/sasl-4.2.2/ebin -pa /usr/lib64/erlang/lib/snmp-5.17/ebin -pa /usr/lib64/erlang/lib/ssh-5.2.4/ebin -pa /usr/lib64/erlang/lib/ssl-11.2.5/ebin -pa /usr/lib64/erlang/lib/stdlib-6.1.2/ebin -pa /usr/lib64/erlang/lib/syntax_tools-3.2.1/ebin -pa /usr/lib64/erlang/lib/tftp-1.2.1/ebin -pa /usr/lib64/erlang/lib/tools-4.1/ebin -pa /usr/lib64/erlang/lib/xmerl-2.1/ebin -pa /usr/lib/elixir/lib/eex/ebin -pa /usr/lib/elixir/lib/elixir/ebin -pa /usr/lib/elixir/lib/ex_unit/ebin -pa /usr/lib/elixir/lib/iex/ebin -pa /usr/lib/elixir/lib/logger/ebin -pa /usr/lib/elixir/lib/mix/ebin -elixir ansi_enabled true -noshell -s elixir start_iex -user elixir -extra +iex --no-halt -S /usr/lib/elixir/bin/mix
Erlang/OTP 27 [erts-15.1.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Error! elixir:start_iex/0 is not exported.

Runtime terminating during boot ({undef,[{elixir,start_iex,[],[]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done

Desktop:

  • OS: openSUSE Tumbleweed
  • Version 20241115

(I have also tried it in my Windows 11 machine, resulting in the same exact problem, I can grab the exact windows version and logs later on if needed)

Erlang:

  • Installer: zypper
  • Version 27

Elixir:

  • Installer: kiex
  • Version 1.18.1

Plugin:

  • Version 20.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant