2

How to analyze the erlang project?

 3 years ago
source link: https://www.codesd.com/item/how-to-analyze-the-erlang-project.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to analyze the erlang project?

advertisements

i am one beginner with erlang, and plan to read some opensource projects(erlyvideo mochiweb) first.

I have learned java、c and c++, i usually find main function and namespace to analyze the code structure, but in erlang i do not know how to dive into the code, who can give me a good advice to analyze erlang project? thanks!


First compile and run the application. Then run appmon

appmon:start().

and see how it is structured.

Then you can try to understand and modify core gen_servers (the ones that are closer to the top of the supervision tree).

Related Articles

How to analyze the heap data of the .hprof file and use it to reduce memory leaks?

In recent times, I have encountered java.lang.OutOfMemoryError exception while running an application. During one such instance, I was able to get the heap dump using jvisualvm. I am able to open the .hprof heap dump file obtained from the heap dump

How to Download the JSF Project in the Web

Hello, this may sound very dumb, but I'll say it anyhow. Well first of all. I don't know how to upload the JavaServerFace Project, that i created in eclipse, into the internet. It's a dynamic web page project; Is there a special program or is it uplo

How to change the default project directory (folder) in Netbeans 6.9?

How to change the default project directory in Netbeans 6.9 for Java SE\ME\EE?I don't think you can make it module-specific but you can set it as follows: Close NetBeans Find the projectui.properties file. For me (Windows) it was under C:\Documents a

How to export the java project as a jar file

I have made a utility java project which contains XML, DB and other such utility classes. This requires 3rd party dependencies on some of the Apache common libraries, so I have added it in my java project by configuring the build path in eclipse Juno

How to run the ruby ​​project on existing rails in linux

I have an existing ruby on rails project on my desktop (Moovit). now i want to run this existing project on my linux. but i can't seem to run it. i dont know if im doing it right. i transferred it to my root folder then i run this code rails new Moov

How to fix the Android project

I have Eclipse indigo, I can create and run android projects in it , but whenever I import the android project build outside , I getting error which It does not recognize android specific things, it shows error and I see the it underlines all things

How to get the current project name in sbt build.scala

I have a multiple project sbt build using aggregator. How can I get the current project name in Build.scala? name.value Since it contains a .value, it must be on the right-hand-side of a :=, += or ++=.

How to use the Github project as a jar file in the current sbt library

I am new to sbt. I have one project say XYZ which is using a JAR file called ABC.jar. Currently I am making the ABC.jar from the github project which is also my repo. ABC.jar contains some model classes. Now my problem is every time I change in ABC I

Analyze the Android project with Lint and SonarQube

I really got an 'overflow' trying to make these things to work together. I followed instruction from here: http://docs.sonarqube.org/display/PLUG/Android+Lint+Plugin and finally got a SonarQube 5.1.1 server with Android Lint plugin 1.1 installed. The

How to locate the current project path in Java, Eclipse?

I am trying to locate the path of the current running/debugged project programmatically in Java, I looked in Google and what I found was System.getProperty("user.id"), which didn't get me the project's path. I know the command Environment.curren

How to place the Golang project (a set of packages) in Github?

It is not clear for me from Golang tutorial how to put Golang code to Github to be able to import that code as a package from Github later. This is an example project-workspace (directory structure) from the Golang tutorial http://golang.org/doc/code

How to run the erlang application (dam build)

I am new to Erlang world and currently can't figure out how to start my dummy erlang application. Probably, I am just missing something... So, I created an application with rebar (rebar create-app appid=dummys). Currently I have rebar.config src/dumm

How to compile the Maven project efficiently and quickly

I have a maven project with 13 sub modules. I have two questions how to optimize the build process: I want to compile the Java code only for x86-64 server. How I con configure Maven to do this? I have a server with 4 CPU cores. Is it possible to use

How to rebuild the MFC project in x64?

I have project in MFC that works fine in x32. I used the configuration manager to change the project to x64, then I tried to rebuild the project. the result was "unresolved external symbol" for many MFC function. I guess that I miss something he

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK