andytill / erlyberly

erlang tracing for the masses
https://twitter.com/erlyberlytips
GNU General Public License v3.0
694 stars 43 forks source link

Unable to connect a node to ErlyBerly #180

Closed bhuvanplus closed 1 year ago

bhuvanplus commented 1 year ago

I am learning the Erlang debugger ErlyBerly. Started ErlyBerly as follows. java -jar target/*runnable.jar

I have written a simple Erlang application with an infinite loop so that it keeps running. I started the node from erl CLI. Please note that both the Erlang node and ErlyBerly are running on the same Linux machine. The node is listed in ErlyBerly. When I tried to connect to the node, I am getting an error "cannot connect to peer node". What could be the reason?

$erl -sname node
(node1@vm-alarm)1>maths:f().
.....

I have tried with a long node name node@oc.com as well. The same error is seen.

The Erlyberly readme page says that "Just make sure that the runtime_tools application is available in the code path. If the node was run using erl directly then it will be available by default". I did not understand this fully. What is runtime_tools? How to run the node using erl directly? Please help me in understanding this.

Following error message is shown: image

bhuvanplus commented 1 year ago

Solution: Edited pom.xml as follows to take jinterface from com.github.rafaelmsoares instead of com.github.andytill

com.github.rafaelmsoares jinterface 1.11