<div dir="ltr">On Tue, Feb 12, 2013 at 10:43 AM, Kyungho Yun <span dir="ltr"><<a href="mailto:inanun@gmail.com" target="_blank">inanun@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br><br>Problem<br>=======<br>module_info function of pman doesn't work.<br><br>To reproduce<br>============<br>
1. pman:start() on erlang shell.<br>2. select a process in Pman window.<br>3. Select View menu.<br>
4. Select module_info.<br>5. You can see error message instead of the module infomation.<br><br></blockquote><div style>Thanks, will fix. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>similar codes:<br> lib/tools/src/fprof.erl<br> 90:apply({M, F}, Args)<br> 101:apply({M, F}, Args, Options)<br><br></blockquote><div style>It is a function definition for fprof:apply/2, not a</div><div style>call to apply/2. Not a bug. </div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> lib/tools/test/xref_SUITE_data/read/read.erl<br> 81: apply({a,b},[1005]),<br> 82: apply({a,A},[1005]), % {a,'$F_EXPR',1}<br>
<br></blockquote><div style>This is testdata for the test suite. I am not an</div><div style>export on Xref, but I don't think Xref tries to</div><div style>distinguish calls that will suceed from calls that</div><div style>
will fail.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> lib/pman/src/pman_win.erl<br> 549: vformat("", catch apply({ModuleName, module_info},[])).<br>
<br></blockquote><div style>That is the cause of the bug you reported above.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> lib/sasl/src/si_sasl_supp.erl<br>
363: case catch apply({Module, Func}, [Opt, Data]) of<br><br></blockquote><div style>Will fix.</div><div><br></div><div style>/Bjorn</div><div style><br></div></div></div></div>