Welcome to the erlyberly world! If you are working with Erlang, Elixir, or LFE and need a reliable debugging tool, erlyberly is your answer. With its powerful tracing features, you can say goodbye to tedious debugging and hello to smoother workflows. In this article, we’ll walk you through everything you need to know about setting up and using erlyberly effectively.
Why Choose erlyberly?
Consider erlyberly as a seasoned tour guide navigating you through the complex landscape of Erlang debugging. Just as a trustworthy guide leads you effortlessly through unfamiliar terrains, erlyberly helps you explore the intricacies of your code, making debugging not only quick but also enjoyable. By using Erlang tracing, it provides real-time feedback without requiring code changes or recompilation.
Quick Start
Ready to dive in? Follow these easy steps to get from zero to erlyberly user in no time:
git clone https://github.com/andytiller/erlyberly.git
cd erlyberly
.mvnw clean compile install assembly:single
java -jar target/runnable.jar
Before executing the code, make sure to have erlc (Erlang Compiler) in your path and JDK 8u20 or higher installed. You can download Java here. For installing Java on command line for different OS, follow the instructions here.
Updating erlyberly
If you already have erlyberly and want to update it for the latest features, simply run this command in the erlyberly project directory:
git pull origin
.mvnw clean compile install assembly:single
java -jar target/runnable.jar
Setting Up Your Development Environment
For setting up your dev environment, follow the three steps in the wiki.
Key Features of erlyberly
Here are some of the impressive features that erlyberly provides:
- Set Traces on Functions: You can toggle tracing on and off by double-clicking on the star next to a function.
- See Calls to Functions and their Results: Double-clicking on a trace reveals a detailed breakdown of arguments and results.
- Handle Exceptions: Exceptions thrown during calls are conveniently highlighted.
- Sequential Tracing of Messages: Keep track of message flow between processes with ease.
- Access to Process States: Get the current state of any process displayed right in your interface.
Troubleshooting Common Issues
Even the best tools can run into problems. Here are some troubleshooting ideas to help you get back on track:
- Cannot Connect or Name Server Errors: Ensure that epmd is running on your machine. You can start it with the command
erl -sname hiin the shell. - NoSuchMethodException Thrown: This error typically arises when your Java version is 8 but the update is less than 20. Update your version of Java to the latest.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Conclusion
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.
Embark on your debugging journey with erlyberly and transform the way you tackle troubleshooting!

