[erlang-bugs] module_info function of pman doesn't work. (call to tuple fun)
Björn Gustavsson
bgustavsson@REDACTED
Wed Feb 13 15:29:41 CET 2013
On Tue, Feb 12, 2013 at 10:43 AM, Kyungho Yun <inanun@REDACTED> wrote:
> 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.
>
> Thanks, will fix.
>
> similar codes:
> lib/tools/src/fprof.erl
> 90:apply({M, F}, Args)
> 101:apply({M, F}, Args, Options)
>
> It is a function definition for fprof:apply/2, not a
call to apply/2. Not a bug.
> lib/tools/test/xref_SUITE_data/read/read.erl
> 81: apply({a,b},[1005]),
> 82: apply({a,A},[1005]), % {a,'$F_EXPR',1}
>
> This is testdata for the test suite. I am not an
export on Xref, but I don't think Xref tries to
distinguish calls that will suceed from calls that
will fail.
> lib/pman/src/pman_win.erl
> 549: vformat("", catch apply({ModuleName, module_info},[])).
>
> That is the cause of the bug you reported above.
> lib/sasl/src/si_sasl_supp.erl
> 363: case catch apply({Module, Func}, [Opt, Data]) of
>
> Will fix.
/Bjorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20130213/ec8a5f25/attachment.htm>
More information about the erlang-bugs
mailing list