But it doesn’t make a difference what my intention was IMO, a crashed node is a crashed node. And while there are things that are obviously stupid and/or dangerous when done on a live system, that is not always the case. There are dangerous things that look innocent enough on the outside, and you only learn about it afterwards.
Just some thoughts here: perhaps it would be possible in some way to extend the shell with custom functionality?
I’m not sure how that would work but as an example, for edbg I create my own simple shells by making use of io:get_line/2. It works ok, but it is a bit clunky (calling erl_eval, etc) if I want to evaluate an Erlang expression. So it would be nice if I could make use of the existing shell functionality for this.
On the other hand, perhaps you should build in support for tracing/debugging straight into the shell…
This is all very cool. I have one very specific request: I’m looking for a way to capture a transcript of the Erlang console input and output. My use case is for recording use of the remote console on a production system, but it would be useful for recording transcripts/demos of local sessions as well.
I spent a bunch of time looking in the OTP-25.x sources, and didn’t see a clean way to do it.
Thanks José! I’ll admit that I’ve poured over the IEx source but haven’t yet been able to create a minimal example – basically just the ability to issue get_chars and not have to wait for a newline. I’ll keep cracking at it and will post here if I figure it out.