Optionally display full path in Dialyzer warnings

Magnus Henoch <>
Wed Sep 15 19:08:11 CEST 2010


Currently, Dialyzer warning messages only contain the base name of the
file, e.g.:

mysql_conn.erl:648: The created fun has no local return

However, when running Dialyzer on a deep directory tree it is
sometimes useful to have the full paths in the warning output.  In
particular, when viewing the output in Emacs, hitting RET on an entry
to jump to the error will often yield a prompt for which directory the
file is in; with full paths we would avoid that prompt.

This change adds a --fullpath option to Dialyzer, which makes the
warning messages contain the full path of the corresponding file.

git fetch git://github.com/legoscia/otp.git dialyzer_full_path_option

-- 
Magnus Henoch, 
  Erlang Solutions
  http://www.erlang-solutions.com/


More information about the erlang-patches mailing list