<div dir="ltr"><div>When compiling some Erlang source files with mix, I discovered that it leaves out the abstract_code chunk.</div><div><br></div><div>This means that rr(Mod) -- implemented in shell:read_file_records/2 -- falls through to shell:try_source/2, which looks in the "CInf" chunk. It then uses the 'options'.'outdir' value and attempts to recreate the source path from that.<br></div><div><br></div><div>That is: given the following:</div><div><br></div><div><div>[{options, [{outdir, "/home/roger/Source/foo/bar/_build/dev/lib/baz/ebin"},</div><div>           {i,"include"}]},</div><div> {version,"7.0.4"},</div><div> {source,"/home/roger/Source/foo/bar/baz/src/quux.erl"}]</div></div><div><br></div><div>...it'll look for "/home/roger/Source/foo/bar/_build/dev/lib/baz/ebin/quux.erl" and "/home/roger/Source/foo/bar/_build/dev/lib/baz/src/quux.erl", which don't exist.</div><div><br></div><div>int:find_src/2 does the same.</div><div><br></div><div>It seems to me that the correct behaviour would be to use the 'source' property, if present...?</div><div><br></div></div>