Elixir调试器在macOS上使erlang崩溃 [英] Elixir debugger crashes erlang on macOS

查看:105
本文介绍了Elixir调试器在macOS上使erlang崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

macOS Big Sur 11.3.1 elixir 1.9.4 erlang 22.0

我是Elixir的新手,我正在尝试运行调试器.我使用 iex -S mix 运行Web服务器的开发环境,并获得交互式长生不老药提示.然后,我输入:debugger.start()并收到一个巨大的输出,然后erlang崩溃.

I am brand new to Elixir and I am trying to run a debugger for the first time. I run my webserver's development environment with iex -S mix and get the interactive elixir prompt. Then I type :debugger.start() and receive an immense output and then erlang crashes.

这是一个小片段,但实际输出很大.

This is a small snippet, but the actual output is huge.

 == NULL" failed in Register(): Class "wxTextValidator" already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() multiple times or linked some object file twice)?

我必须使用帖子顶部列出的版本,该项目已被版本锁定.是否有人对造成这种情况的原因有任何了解?它可能与我必须首先安装erlang所要做的.但是我不确定.

I have to use the versions listed at the top of the post, the project is version locked. Does anyone have any insight into what is causing this? It may be related to what I had to do to install erlang to begin with. But I'm not sure.

谢谢.

推荐答案

我从未使用过调试器,但我相信它依赖于与观察器相同的组件.我建议通过 asdf 安装Elixir和Erlang,这样可以更轻松地安装特定版本.

I have never used the debugger, but I believe it relies on some of the same components as the observer. I would recommend installing Elixir and Erlang via asdf -- that makes it easier to install specific versions.

一旦安装了东西,就可以使用自制软件安装 wxmac

Once you've got things installed, you can use homebrew to install wxmac

brew install wxmac

然后在您的 mix.exs 中,将:observer,:wx 添加到您的 extra_applications 中,例如

Then to your mix.exs, add :observer, :wx to your extra_applications, e.g.

extra_applications: [:logger, :observer, :wx]

这篇关于Elixir调试器在macOS上使erlang崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆