[erlang-questions] Unloading all modules from ERL session

Daniel Goertzen daniel.goertzen@REDACTED
Thu Jun 13 17:46:20 CEST 2013

If it is just 1 or 2 modules, reload those modules with...

1> l(mymodule).


On Thu, Jun 13, 2013 at 2:23 AM, <yashgt@REDACTED> wrote:

> Hi,
> If an Erlang session on command prompt is running and I call a function
> from a module, the module gets loaded. If I realize that there is a bug,
> and while leaving the erl session running, change the code and recompile
> the module and amny other modules, the older version of the module remains
> loaded in teh erl session.
> How do I unload all loaded modules so that the newly compiled modules get
> loaded the next time I invoke the function in the erl session, the new code
> takes effect?
> Thanks,
> Yash
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130613/6e51a8a6/attachment.htm>

More information about the erlang-questions mailing list