在 Erlang 观察者中找不到主管和 gen_servers

发布于 2025-01-11 15:18:55 字数 726 浏览 1 评论 0原文

我正在运行一个带有几个孩子的简单主管,我想使用 Erlang Observer 查看主管树结构的外观。我启动 Erlang shell,启动管理程序,然后从 shell 中调用observer:start(),我可以在“应用程序”选项卡中看到像树一样的进程结构。

输入图片此处描述

不幸的是,我根本看不到我的主管(称为 animal_sup)。然而,我可以在它显示的过程中看到它,如下所示 输入图片这里的描述

显示该进程的父进程是<0.79​​.0>。 输入图片此处的描述

,但我也无法在“应用程序”选项卡中显示的树中看到此过程。我似乎无法弄清楚这个过程有何不同,以及如何在“应用程序”选项卡中找到我的主管。

I'm running a simple supervisor with a couple of children and I want to see how the supervisor tree structure looks using Erlang Observer. I start the Erlang shell, initiate the supervisor and then call observer:start() from the shell where I can see this tree like processes structure in Applications tab.

enter image description here

Unfortunately, I cannot see my supervisor (called animal_sup) in this at all. I can however see it in the processes where it shows like this
enter image description here

and it shows that the parent process of the process is <0.79.0>.
enter image description here

but I can't see this process in the tree shown in the Applications tab either. I can't seem to figure out how this process is different and how can I find my supervisor in the Applications tab.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文