Tiliman’s Weblog

July 29, 2013

Viewing Erlang Crashdump Remotely

Filed under: Backend, Erlang — Tags: , , — tiliman @ 8:53 pm

Erlang allows you to load crashdump by using Crash Dump Viewer. The information provided has backtrace to figure out what went wrong and where. The catch is that default viewer only listens on 127.0.0.1 (localhost) ip address. There is no start method that takes IP address as a parameter to listen on. The way to make crash dump viewer to listen on other port is to start webtool before crash dump viewer and give it ip port.
Here is an example


1> webtool:start(standard_path,[{port,8888},{bind_address,{0,0,0,0}},{server_name,"mytest"}]).
WebTool is available at http://mytest:8888/
Or  http://0.0.0.0:8888/
{ok,}
2> crashdump_viewer:start().

or simply start webtool and browse to it and start crashdump viewer from the web GUI itself.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: