[erlang-questions] how to debug the erlang boot?

Håkan Mattsson <>
Mon Apr 8 12:40:02 CEST 2013


Try -init_debug (and possible -loader_debug) to get more more info about
what is going on during boot.

/Håkan

On Mon, Apr 8, 2013 at 12:00 PM, Benoit Chesneau <>wrote:

> Hi,
>
> I have an application that load Erlang application in a thread (on
> android) using a patched version of Erlang [1]. I'm using application
> by passsing following parameter to erl_start:
>
>
> ["beam", "-K", "true", "--",
> "-noinput",
> "-boot_var", "APK", path + "/apk.ez",
> "-kernel", "inetrc", "\""+ path + "/erlang/bin/erl_inetrc\"",
> "-native_lib_path", path + "/lib",
> "-sasl", "errlog_type", "all",
> "-boot", path + "/erlang/bin/start",
> "-root", path + "/apk.ez/assets",
> "-eval", "R = application:start(somapp), io:format(\"~w~n\",[R])."]
>
> The thread start but the application isn't launched. for the boots
> script i'm using the minimal one created during the bootstrap.
>
> Any idea how I could log what happen on boot. The thread is just
> running without any error published. I can open more code if needed.
>
>
> - benoit
>
> [1] https://github.com/benoitc/otp/tree/OTP_R16B_ANDROID
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130408/882ac4d6/attachment.html>


More information about the erlang-questions mailing list