(NB: I could not find any good tags for this post. Please feel free to add better ones.)
Suppose that the file /some/path/dump.mx
was generated during an earlier Mathematica session by evaluating an expression of the form
DumpSave["/some/path/dump.mx", ...]
...for some argument ...
unknown to us.
Q: How can I find out which variables were set (or re-set) as a result of evaluating
Get["/some/path/dump.mx"];
...in my current Mathematica session?
Answer
Short summary
In your current Mathematica session, you can easily track creation of new symbols. There is however no simple way to track updating of symbols. As a workaround you can start a fresh kernel, load MX file there and track new symbols. This may give you some idea how given MX file will affect your current Mathematica session.
Methods to track new symbols defined by MX file can be found in the following question:
Update: I have moved some part of my answer from here to DumpSave for the forgetful, because that question is considered canonical.
Comments
Post a Comment