[erlang-bugs] Not documented parameter in runtime_tools application (R15B01)

Stephane Pamelard stephane.pamelard@REDACTED
Fri Aug 17 14:34:26 CEST 2012


Hi,

Please find a possible minor issue in runtime_tools application starting
process.

As said in the documentation, no parameter is defined in this application.
However,  when starting a node referring this application, not
documented parameter /ttb_autostart_module/ appears.

This is due to the following lines in ttb_autostart:init/1 function.

/init(no_args) ->
    case application:get_env(runtime_tools, ttb_autostart_module) of
        {ok, _} ->  ok;
        undefined -> application:set_env(runtime_tools,
ttb_autostart_module, ?DEF_AUTOSTART_MODULE)
    end,
    observer_backend:ttb_resume_trace(),
    %%As the process is not needed any more, it will shut itself down
    {ok, no_args, 10000}./

Regards,
Stéphane
*** DISCLAIMER ***

This message, including attachments, is intended solely for the addressee indicated in this message and is strictly confidential or otherwise privileged. If you are not the intended recipient (or responsible for delivery of the message to such person) : - (1) please immediately (i) notify the sender by reply email and (ii) delete this message and attachments, - (2) any use, copy or dissemination of this transmission is strictly prohibited. If you or your employer does not consent to Internet email messages of this kind, please advise Myriad Group AG by reply e-mail immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by Myriad Group AG unless otherwise indicated by an authorized representative independent of this message.



More information about the erlang-bugs mailing list