[erlang-questions] debugging remote node

Håkan Mattsson hakan@REDACTED
Thu Mar 4 23:29:01 CET 2010


On Thu, Feb 25, 2010 at 2:58 PM, Vlad Dumitrescu <vladdu55@REDACTED> wrote:
> Hi!
>
> When debugging remote nodes, do they need to share filesystem (or have
> the files in the same place) with the "current" machine? Looking in
> the code I see that read_file is used, which would make me say that
> this is a requirement, but there is enough magic going  on that there
> might be some other path that doesn't use that.
>
> Yes, I tried it in practice and it didn't work (while it worked with a
> system with shared filesystem), but I'd like to get it confirmed (or
> to get pointed to the relevant part of the docs).

When the debugger got adopted to read files from archives,
it was rewritten to use erl_prim_loader to read the files. I have
not tried this myself, but as the erl_prim_loader is able to fetch
files from remote nodes (using the erl_boot_server) it ought to
be possible to get the debugger to read its files from a remote
node. See erl_prim_loader and erl_boot_server about how such
a system is configured.

/Håkan


More information about the erlang-questions mailing list