Tlm. Source
(tlm v0.1.0)
Copy Markdown
Source lines around a frame, so Tlm can show the failing line.
Releases ship no .ex files, so mix tlm.package_source (run
before mix release) stores the app's sources inside this package's
priv. Without that file, sources are read from disk, which works in
dev.
Summary
Functions
Five lines before and after line of file, or nil when unknown.
The first line of file matching regex at or after line from,
numbered from 1, or nil.
Loads packaged sources from path, replacing any loaded before.
The path stacktraces use for a module compiled from source (an
absolute path at build time): the packaged path it ends with, or else
source relative to the current directory, as in dev. A dependency's
source isn't packaged: in a release it's named from deps/ on, as dev
names it ("deps/db_connection/lib/db_connection/connection.ex").
The packaged file and line where module is defined, or nil.
Where mix tlm.package_source writes by default.
Functions
Five lines before and after line of file, or nil when unknown.
The first line of file matching regex at or after line from,
numbered from 1, or nil.
Loads packaged sources from path, replacing any loaded before.
The path stacktraces use for a module compiled from source (an
absolute path at build time): the packaged path it ends with, or else
source relative to the current directory, as in dev. A dependency's
source isn't packaged: in a release it's named from deps/ on, as dev
names it ("deps/db_connection/lib/db_connection/connection.ex").
The packaged file and line where module is defined, or nil.
Releases strip the compile info that names a module's source, so
mix tlm.package_source records where each module is defined.
Where mix tlm.package_source writes by default.