<div dir="ltr">Hello!<div><br></div><div>No, it is not possible because after the beam code is loaded it is not kept in memory, and it is not possible to re-create the original beam code from the loaded code.</div><div><br></div><div>So if you need to keep track of dynamically created code, you need to build something yourself that does that.</div><div><br></div><div>Lukas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 1, 2021 at 8:57 AM Devon Estes <<a href="mailto:devon.c.estes@gmail.com">devon.c.estes@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all,<br><br>Is it at all possible to get the current object code for a module directly from the code server? `code:get_object_code/1` returns information from the beam files in the code path and not from the code server itself, and so if there are modules that are dynamically compiled and loaded with `code:load_binary/3` that doesn't work.<br><br>Cheers,<br>Devon</div>
</blockquote></div>