[erlang-bugs] module_info function of pman doesn't work. (call to tuple fun)

Kyungho Yun <>
Tue Feb 12 10:43:47 CET 2013


Hi all.

Problem
=======
module_info function of pman doesn't work.

To reproduce
============
1. pman:start() on erlang shell.
2. select a process in Pman window.
3. Select View menu.
4. Select module_info.
5. You can see error message instead of the module infomation.

Environments
===========
Erlang R16A RC / ubuntu 12.04

Description
===========
It works until R15B04 with some warning message:
  Call to tuple fun {gs_frontend,module_info}.
  Tuple funs are deprecated and will be removed in R16. Use "fun M:F/A"
instead, for example "fun gs_frontend:module_info/0".
  (This warning will only be shown the first time a tuple fun is called.)

similar codes:
  lib/tools/src/fprof.erl
  90:apply({M, F}, Args)
  101:apply({M, F}, Args, Options)

  lib/tools/test/xref_SUITE_data/read/read.erl
  81:    apply({a,b},[1005]),
  82:    apply({a,A},[1005]), % {a,'$F_EXPR',1}

  lib/pman/src/pman_win.erl
  549:    vformat("", catch apply({ModuleName, module_info},[])).

  lib/sasl/src/si_sasl_supp.erl
  363:        case catch apply({Module, Func}, [Opt, Data]) of


BR. Yun,Kyungho.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130212/694ae443/attachment.html>


More information about the erlang-bugs mailing list