<div dir="ltr">If it is just 1 or 2 modules, reload those modules with...<div><br></div><div><br></div><div style><div><font face="courier new, monospace">1> l(mymodule).</font></div><div><font face="courier new, monospace">{module,mymodule}</font></div>
<div><font face="courier new, monospace">2> </font></div><div><br></div><div style>Dan.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 13, 2013 at 2:23 AM, <span dir="ltr"><<a href="mailto:yashgt@gmail.com" target="_blank">yashgt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,</p>
<p>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.</p>
<p>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?</p>
<p>Thanks,<br>Yash</p>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br>
</div>