<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css"> <title>Erlang -- Tools Release Notes</title> </head> <body bgcolor="white" text="#000000" link="#0000ff" vlink="#ff00ff" alink="#ff0000"><div id="container"> <script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript"> <!-- function getWinHeight() { var myHeight = 0; if( typeof( window.innerHeight ) == 'number' ) { //Non-IE myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myHeight = document.body.clientHeight; } return myHeight; } function setscrollpos() { var objf=document.getElementById('loadscrollpos'); document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2; } function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, true); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } addEvent(window, 'load', setscrollpos); //--></script><div id="leftnav"><div class="innertube"> <img alt="Erlang logo" src="../../../../doc/erlang-logo.png"><br><small><a href="users_guide.html">User's Guide</a><br><a href="index.html">Reference Manual</a><br><a href="release_notes.html">Release Notes</a><br><a href="../pdf/tools-2.6.8.pdf">PDF</a><br><a href="../../../../doc/index.html">Top</a></small><p><strong>Tools</strong><br><strong>Release Notes</strong><br><small>Version 2.6.8</small></p> <br><a href="javascript:openAllFlips()">Expand All</a><br><a href="javascript:closeAllFlips()">Contract All</a><p><small><strong>Chapters</strong></small></p> <ul class="flipMenu" imagepath="../../../../doc/js/flipmenu"><li id="loadscrollpos" title="Tools Release Notes" expanded="true">Tools Release Notes<ul> <li><a href="notes.html"> Top of chapter </a></li> <li title="Tools 2.6.8"><a href="notes.html#id57451">Tools 2.6.8</a></li> <li title="Tools 2.6.7"><a href="notes.html#id66502">Tools 2.6.7</a></li> <li title="Tools 2.6.6.6"><a href="notes.html#id66544">Tools 2.6.6.6</a></li> <li title="Tools 2.6.6.5"><a href="notes.html#id71102">Tools 2.6.6.5</a></li> <li title="Tools 2.6.6.4"><a href="notes.html#id68927">Tools 2.6.6.4</a></li> <li title="Tools 2.6.6.3"><a href="notes.html#id69023">Tools 2.6.6.3</a></li> <li title="Tools 2.6.6.2"><a href="notes.html#id56453">Tools 2.6.6.2</a></li> <li title="Tools 2.6.6.1"><a href="notes.html#id56494">Tools 2.6.6.1</a></li> <li title="Tools 2.6.6"><a href="notes.html#id56528">Tools 2.6.6</a></li> <li title="Tools 2.6.5.1"><a href="notes.html#id73867">Tools 2.6.5.1</a></li> <li title="Tools 2.6.5"><a href="notes.html#id73952">Tools 2.6.5</a></li> <li title="Tools 2.6.4"><a href="notes.html#id70060">Tools 2.6.4</a></li> <li title="Tools 2.6.3"><a href="notes.html#id70093">Tools 2.6.3</a></li> <li title="Tools 2.6.2"><a href="notes.html#id70124">Tools 2.6.2</a></li> <li title="Tools 2.6.1"><a href="notes.html#id70165">Tools 2.6.1</a></li> <li title="Tools 2.6"><a href="notes.html#id69103">Tools 2.6</a></li> <li title="Tools 2.5.5"><a href="notes.html#id69138">Tools 2.5.5</a></li> <li title="Tools 2.5.4.1"><a href="notes.html#id69232">Tools 2.5.4.1</a></li> <li title="Tools 2.5.4"><a href="notes.html#id69266">Tools 2.5.4</a></li> <li title="Tools 2.5.3"><a href="notes.html#id69323">Tools 2.5.3</a></li> <li title="Tools 2.5.2"><a href="notes.html#id69363">Tools 2.5.2</a></li> <li title="Tools 2.5.1"><a href="notes.html#id61589">Tools 2.5.1</a></li> <li title="Tools 2.5"><a href="notes.html#id61621">Tools 2.5</a></li> <li title="Tools 2.4.7"><a href="notes.html#id61769">Tools 2.4.7</a></li> <li title="Tools 2.4.6"><a href="notes.html#id61806">Tools 2.4.6</a></li> <li title="Tools 2.4.5"><a href="notes.html#id60294">Tools 2.4.5</a></li> <li title="Tools 2.4.4"><a href="notes.html#id60335">Tools 2.4.4</a></li> <li title="Tools 2.4.3"><a href="notes.html#id60371">Tools 2.4.3</a></li> <li title="Tools 2.4.2"><a href="notes.html#id60433">Tools 2.4.2</a></li> <li title="Tools 2.4.1"><a href="notes.html#id60469">Tools 2.4.1</a></li> </ul> </li></ul> </div></div> <div id="content"> <div class="innertube"> <h1>1 Tools Release Notes</h1> <p>This document describes the changes made to the Tools application.</p> <h3><a name="id57451">1.1 Tools 2.6.8</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> The last tuple fun call has been removed from fprof.</p> <p> Own Id: OTP-10091 Aux Id: seq12067 </p> </li> <li> <p> Fix indentation of record fields in Emacs (Thanks to Tomas Abrahamsson)</p> <p> Own Id: OTP-10120</p> </li> <li> <p> Documentation fixes (Thanks to Ricardo Catalinas Jiménez )</p> <p> Own Id: OTP-10121</p> </li> <li> <p> Remove Erlang-specific compilation error regexp in erlang.el</p> <p> Own Id: OTP-10168</p> </li> <li> <p> Fix highlighting of atoms ending with a dollar sign</p> <p> Like this: 'atom$'. In that example, the last single quote should be recognised as ending the atom. This needs a font-lock workaround similar to the one for strings. Thanks to Magnus Henoch</p> <p> Own Id: OTP-10178</p> </li> <li> <p> Xref now accepts filenames with character codes greater than 126. (Thanks to Emile Joubert for reporting the issue.) </p> <p> Own Id: OTP-10192</p> </li> <li> <p> Add test_indentation target to lib/tools/emacs/Makefile</p> <p> Automatically indent test.erl.orig, save to test.erl, and compare to test.erl.intended. Thanks to Magnus Henoch.</p> <p> Own Id: OTP-10226</p> </li> </ul> <h3><a name="id66502">1.2 Tools 2.6.7</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Makefiles in erts, hipe and tools have been corrected to enable parallel make, i.e MAKEFLAGS=-jX where X is the parallelity number. As a result of this dependencies were corrected since that is what is needed for parallel make to work.</p> <p> Own Id: OTP-9857 Aux Id: OTP-9451 </p> </li> <li> <p>Minor suppressions and fixes of compilation warnings</p> <p> Own Id: OTP-10016</p> </li> </ul> <h3><a name="id66544">1.3 Tools 2.6.6.6</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Update system profiling principles to reflect eprof performance improvements.</p> <p> Own Id: OTP-9656</p> </li> <li> <p> [cover] fix leftover {'DOWN', ..} msg in callers queue</p> <p> After stopping cover with cover:stop() there could still be a {'DOWN',...} leftover message in the calling process's message queue. This unexpected leftover could be eliminated if erlang:demonitor/2 with option flush would be used in certain points</p> <p> Own Id: OTP-9694</p> </li> <li> <p> Add deps as erlang-flymake include directory.</p> <p> Update erlang-flymake to recognize the "deps" folder as an include directory. This makes erlang-flymake compatible with the rebar dependency management tool's default folder structure, which puts included dependencies in "deps".(Thanks to Kevin Albrecht)</p> <p> Own Id: OTP-9791</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Variables are now now allowed in '<span class="code">fun M:F/A</span>' as suggested by Richard O'Keefe in EEP-23.</p> <p>The representation of '<span class="code">fun M:F/A</span>' in the abstract format has been changed in an incompatible way. Tools that directly read or manipulate the abstract format (such as parse transforms) may need to be updated. The compiler can handle both the new and the old format (i.e. extracting the abstract format from a pre-R15 BEAM file and compiling it using compile:forms/1,2 will work). The <span class="code">syntax_tools</span> application can also handle both formats.</p> <p> *** POTENTIAL INCOMPATIBILITY ***</p> <p> Own Id: OTP-9643</p> </li> <li> <p> Tuple funs (a two-element tuple with a module name and a function) are now officially deprecated and will be removed in R16. Use '<span class="code">fun M:F/A</span>' instead. To make you aware that your system uses tuple funs, the very first time a tuple fun is applied, a warning will be sent to the error logger.</p> <p> Own Id: OTP-9649</p> </li> <li> <p> Eliminate use of deprecated regexp module</p> <p> Own Id: OTP-9810</p> </li> </ul> <h3><a name="id71102">1.4 Tools 2.6.6.5</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Teach the emacs mode to compile yecc and leex files</p> <p> If visiting a .yrl or .xrl file in emacs with erlang-mode, then the `erlang-compile' function (normally bound to C-c C-k), now knows how to compile yecc and leex files, and then, if that compilation succeeds, also compiles the resulting .erl files.</p> <p> Also introduce a `erlang-compile-command-function-alist' to make it possible to hook in other functions for computing compilation commands/expressions, depending on file name. (Thanks to Tomas Abrahamsson )</p> <p> Own Id: OTP-9503</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p> Bugs in xref(3) have been fixed. (Thanks to Matthias Lang.) </p> <p> Own Id: OTP-9416</p> </li> </ul> <h3><a name="id68927">1.5 Tools 2.6.6.4</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Change make:files to behave more like erlc</p> <p> This change removes the unnecessary checks on the files when make:files is called and allows the error checking to be done in compile:file, where the error messages are produced. It does not affect the return value.</p> <p> (Thanks to Sam bobroff)</p> <p> Own Id: OTP-9179</p> </li> <li> <p> add user specified compiler options on form reloading</p> <p> In order to be able to test non-exported functions from another (test) module it is necessary to compile the specific module (at least during the test phase) with the export_all compiler option. This allows complete separation of testing and productive code. At the moment it is not possible to combine this with a test code coverage using the cover module. The problem is that when cover compiling a module using cover:compile_* the code is reloaded into the emulator omitting/filtering the passed user options. In my example above the export_all option would be removed and the non-exported functions cannot be called any more. (Thanks to Tobias Schlager)</p> <p> Own Id: OTP-9204</p> </li> <li> <p> Inhibit electric newline after "->" when inside a type spec</p> <p> The Erlang mode for Emacs inserts a newline after every "->", which saves you one keystroke when writing a function, but that is inappropriate when writing a type spec, as you'd normally keep the spec on one line. This change inhibits the automatic insertion when the current line starts with "-spec" or "-type".(Thanks to Magnus Henoch)</p> <p> Own Id: OTP-9255</p> </li> <li> <p> Add a check logic to prevent file descriptor leak</p> <p> cover module handle files as raw in export and import. Assert counts of ports are the same at the beginning and at the end of the test case.(Thanks to Shunichi Shinohara)</p> <p> Own Id: OTP-9300</p> </li> </ul> <h3><a name="id69023">1.6 Tools 2.6.6.3</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> Declare indentation options as "safe" in erlang-mode for Emacs</p> <p> Emacs has a facility for setting options on a per-file basis based on comments in the source file. By default, all options are considered "unsafe", and the user is queried before the variable is set. This patch declares the variables erlang-indent-level, erlang-indent-guard and erlang-argument-indent to be safe, if the value specified in the source file is valid.</p> <p> Such declarations usually look like this:</p> <p> %% -*- erlang-indent-level: 2 -*-</p> <p> and appear on the first line of the file. (thanks to Magnus Henoch)</p> <p> Own Id: OTP-9122</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p> Cover has been improved to take less memory and allow parallel analysis of cover data. Data collection from nodes is now done in parallel and it is now possible to issue multiple analyse and analyse_to_file requests at the same time. A new function call async_analyse_to_file has also been introduced, see the documentation for more details.</p> <p> Own Id: OTP-9043 Aux Id: seq11771 </p> </li> </ul> <h3><a name="id56453">1.7 Tools 2.6.6.2</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>eprof: API sort mismatch has now been fixed. </p> <p> Own Id: OTP-8853</p> </li> <li> <p> eprof: fix division by zero in statistics</p> <p> Own Id: OTP-8963</p> </li> </ul> <h3><a name="id56494">1.8 Tools 2.6.6.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> <span class="code">cover</span> will now show ampersand characters in the source code correctly. (Thanks to Tom Moertel.)</p> <p> Own Id: OTP-8776</p> </li> </ul> <h3><a name="id56528">1.9 Tools 2.6.6</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>A race condition affecting Cover has been removed.</p> <p> Own Id: OTP-8469</p> </li> <li> <p> Emacs improvements:</p> <p> Fixed emacs-mode installation problems.</p> <p> Fixed a couple of -spec and -type indentation and font-lock problems.</p> <p> Fixed error messages on emacs-21.</p> <p> Magnus Henoch fixed several issues.</p> <p> Ralf Doering, Klas Johansson and Chris Bernard contributed various emacs-eunit improvements.</p> <p> Klas Johansson and Dave Peticolas added emacs-flymake support.</p> <p> Own Id: OTP-8530</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Xref has been updated to use the <span class="code">re</span> module instead of the deprecated <span class="code">regexp</span> module.</p> <p> *** POTENTIAL INCOMPATIBILITY ***</p> <p> Own Id: OTP-8472</p> </li> <li> <p>When given the option <span class="code">{builtins,true}</span> Xref now adds calls to operators.</p> <p> Own Id: OTP-8647</p> </li> <li> <p><span class="code">eprof</span> has been reimplemented with support in the Erlang virtual machine and is now both faster (i.e. slows down the code being measured less) and scales much better. In measurements we saw speed-ups compared to the old eprof ranging from 6 times (for sequential code that only uses one scheduler/core) up to 84 times (for parallel code that uses 8 cores).</p> <p>Note: The API for the <span class="code">eprof</span> has been cleaned up and extended. See the documentation.</p> <p> *** POTENTIAL INCOMPATIBILITY ***</p> <p> Own Id: OTP-8706</p> </li> </ul> <h3><a name="id73867">1.10 Tools 2.6.5.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>A bug concerning bit comprehensions has been fixed in Cover. The bug was introduced in R13B03. (Thanks to Matthew Sackman.)</p> <p>Own Id: OTP-8340</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p> Add lock profiling tool.</p> <p> The Lock profiling tool, lcnt, can make use of the internal lock statistics when the runtime system is built with this feature enabled.</p> <p> This provides a mechanism to examine potential lock bottlenecks within the runtime itself.</p> <p> - Add erts_debug:lock_counters({copy_save, bool()}). This option enables or disables statistics saving for destroyed processes and ets-tables. Enabling this might consume a lot of memory.</p> <p> - Add id-numbering for lock classes which is otherwise undefined.</p> <p> Own Id: OTP-8424</p> </li> <li> <p> emacs: Moved code skeletons to a separate file and and added a configurable variable to choose skeleton. Thanks Dave Peticolas.</p> <p> Own Id: OTP-8446</p> </li> </ul> <h3><a name="id73952">1.11 Tools 2.6.5</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>The coverage analysis tool <span class="code">cover</span> has been improved when it comes to handling list and bit string comprehensions (a counter for each qualifier), bit syntax expressions (the Value and Size expressions), and try expressions (the body called <span class="code">Exprs</span> in the Reference Manual). A few (not all) situations where several expressions are put on the same line are also handled better than before.</p> <p>Own Id: OTP-8188 Aux Id: seq11397</p> </li> <li> <p>When loading Cover compiled code on remote nodes running code in the loaded module, a <span class="code">badarg</span> failure was sometimes the result. This bug has been fixed.</p> <p>Own Id: OTP-8270 Aux Id: seq11423</p> </li> <li> <p>The short-circuit operators <span class="code">andalso</span> and <span class="code">orelse</span> are now handled correctly by the coverage analysis tool <span class="code">cover</span> (it is no longer checked that the second argument returns a Boolean value.)</p> <p>Own Id: OTP-8273</p> </li> </ul> <h3><a name="id70060">1.12 Tools 2.6.4</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p><span class="code">cover</span> now properly escapes greater-than and less-than characters in comments in HTML reports. (Thanks to Magnus Henoch.)</p> <p> Own Id: OTP-7939</p> </li> </ul> <h3><a name="id70093">1.13 Tools 2.6.3</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p> xref:start/1 does now allow anonymous XREF processes to be started</p> <p> Own Id: OTP-7831</p> </li> </ul> <h3><a name="id70124">1.14 Tools 2.6.2</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>A bug in the Xref scanner has been fixed.</p> <p> Own Id: OTP-7423</p> </li> <li> <p>A bug in Fprof where the function 'undefined' appeared to call 'undefined' has been corrected.</p> <p> Own Id: OTP-7509</p> </li> </ul> <h3><a name="id70165">1.15 Tools 2.6.1</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>The documentation has been updated so as to reflect the last updates of the Erlang shell as well as the minor modifications of the control sequence <span class="code">p</span> of the <span class="code">io_lib</span> module.</p> <p>Superfluous empty lines have been removed from code examples and from Erlang shell examples.</p> <p> Own Id: OTP-6944 Aux Id: OTP-6554, OTP-6911 </p> </li> <li> <p><span class="code">tuple_size/1</span> and <span class="code">byte_size/1</span> have been substituted for <span class="code">size/1</span>.</p> <p> Own Id: OTP-7009</p> </li> <li> <p>The coverage analysis tool <span class="code">cover</span> now handles the short-circuit Boolean expressions <span class="code">andalso/2</span> and <span class="code">orelse/2</span> properly.</p> <p> Own Id: OTP-7095</p> </li> </ul> <h3><a name="id69103">1.16 Tools 2.6</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p> The <span class="code">cover</span> tool could use huge amounts of memory when used in a distributed system.</p> <p> Own Id: OTP-6758</p> </li> </ul> <h3><a name="id69138">1.17 Tools 2.5.5</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Missing buffer-local declaration in erlang.el has been added. Before this fix there could arise problems in other emacs modes after visiting a buffer using the erlang mode.</p> <p>Own Id: OTP-6721</p> </li> <li> <p>Key-map for 'backward-delete-char-untabif updated to work properly with Xemacs.</p> <p>Own Id: OTP-6723</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Minor updates of Xref.</p> <p>Own Id: OTP-6586</p> </li> <li> <p>Minor Makefile changes.</p> <p>Own Id: OTP-6689 Aux Id: OTP-6742 </p> </li> <li> <p>"C-u C-c C-k" now does a compile with both "debug_info" and "export_all".</p> <p>Own Id: OTP-6741</p> </li> </ul> <h3><a name="id69232">1.18 Tools 2.5.4.1</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>Changes due to internal interface changes in the erts application which are needed at compile-time. No functionality has been changed.</p> <p>Own Id: OTP-6611 Aux Id: OTP-6580 </p> </li> </ul> <h3><a name="id69266">1.19 Tools 2.5.4</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Made change to support the function erlang-find-tag for xemacs and emacs-21.</p> <p>Own Id: OTP-6512</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Minor updates of xref for future compatibility.</p> <p>Own Id: OTP-6513</p> </li> </ul> <h3><a name="id69323">1.20 Tools 2.5.3</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p><span class="code">eprof</span> did not work reliably in the SMP emulator, because the trace receiver process could not process the trace messages fast enough. Therefore, <span class="code">eprof</span> now blocks the other schedulers while profiling.</p> <p>Own Id: OTP-6373</p> </li> </ul> <h3><a name="id69363">1.21 Tools 2.5.2</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Fprof traces could become truncated for the SMP emulator. This bug has now been corrected.</p> <p>Own Id: OTP-6246</p> </li> </ul> <h3><a name="id61589">1.22 Tools 2.5.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>eprof now works somewhat better in the SMP emulator.</p> <p>Own Id: OTP-6152</p> </li> </ul> <h3><a name="id61621">1.23 Tools 2.5</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Fixed some bugs in <span class="code">make</span>:</p> <p><span class="code">make:files/1,2</span> can now handle a file in another directory as argument, similar to <span class="code">make:all/0,1</span>.</p> <p>When specifying a file name including the <span class="code">.erl</span> extension in <span class="code">Emakefile</span>, <span class="code">make:all/0,1</span> looked for the object code in the wrong place.</p> <p>When specifying a file name including the <span class="code">.erl</span> extension in <span class="code">Emakefile</span> and some compile options for the file, <span class="code">make:files/0,1</span> did not use the options as it should do.</p> <p>Own Id: OTP-6057 Aux Id: seq10299</p> </li> <li> <p><span class="code">cover</span>: When <span class="code">cover:stop()</span> was called, the cover compiled code was not unloaded (as stated in the documentation) but simply marked as 'old'. This meant that processes lingering in (or with funs referencing to) the cover compiled code would survive even when the cover server and its ETS tables was terminated.</p> <p>Now the cover compiled code is unloaded, meaning that processes lingering in/with references to it will be killed when <span class="code">cover:stop</span> is called, instead of later crashing with <span class="code">badarg</span> when trying to bump counters in ETS tables no longer existing.</p> </li> </ul> <h4>Improvements and New Features</h4> <ul> <li> <p>Replaced call to deprecated function <span class="code">file:file_info/1</span> with call to <span class="code">filelib:is_dir/1</span> and <span class="code">filelib:is_regular/1</span> in <span class="code">tags.erl</span>.</p> <p>Own Id: OTP-6079</p> </li> </ul> <h3><a name="id61769">1.24 Tools 2.4.7</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>A bug in <span class="code">fprof</span> profiling causing erroneous inconsistent trace failure has been corrected.</p> <p>Own Id: OTP-5922 Aux Id: seq10203 </p> </li> </ul> <h3><a name="id61806">1.25 Tools 2.4.6</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>Emacs: <span class="code">erlang-man-function</span> and <span class="code">erlang-man-module</span> used a pattern matching to find the requested module that sometimes yielded unexpected results. For example, <span class="code">erlang-man-module file</span> would display the man page for <span class="code">CosFileTransfer_File</span>.</p> <p>Own Id: OTP-5746 Aux Id: seq10096</p> </li> <li> <p>Some compiler warnings and Dialyzer warnings were eliminated in the Tools application.</p> <p>When tracing to a port (which <span class="code">fprof</span> does), there could be fake schedule out/schedule in messages sent for a process that had exited.</p> <p>Own Id: OTP-5757</p> </li> </ul> <h3><a name="id60294">1.26 Tools 2.4.5</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>The cross reference tool <span class="code">xref</span> did not handle the new <span class="code">fun M:F/A</span> construct properly. This problem has been fixed.</p> <p>Own Id: OTP-5653</p> </li> </ul> <h3><a name="id60335">1.27 Tools 2.4.4</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>The <span class="code">cover</span> tool did not escape '<' and '>' not being part of HTML tags in HTML log files.</p> <p>Own Id: OTP-5588</p> </li> </ul> <h3><a name="id60371">1.28 Tools 2.4.3</a></h3> <h4>Improvements and New Features</h4> <ul> <li> <p>It is now possible to encrypt the debug information in beam files, to help keep the source code secret. See <span class="code">compile(3)</span> for how to provide the key for encrypting, and <span class="code">beam_lib(3)</span> for how to provide the key for decryption so that tools such as Debugger, <span class="code">xref</span>, or <span class="code">cover</span> can be used.</p> <p>The <span class="code">beam_lib:chunks/2</span> functions now accepts an additional chunk type '<span class="code">compile_info</span>' to retrieve the compilation information directly as a term. (Thanks to Tobias Lindahl.)</p> <p>Own Id: OTP-5460 Aux Id: seq9787</p> </li> </ul> <h3><a name="id60433">1.29 Tools 2.4.2</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>The <span class="code">cover</span> tool could not analyze empty modules on module level.</p> <p>Own Id: OTP-5418</p> </li> </ul> <h3><a name="id60469">1.30 Tools 2.4.1</a></h3> <h4>Fixed Bugs and Malfunctions</h4> <ul> <li> <p>The <span class="code">xref</span> analysis <span class="code">locals_not_used</span> could return too many functions. This problem has been fixed.</p> <p>Own Id: OTP-5071</p> </li> <li> <p>The <span class="code">cover</span> tool could not always compile parse transformed modules. This problem has been fixed.</p> <p>Own Id: OTP-5305</p> </li> </ul> </div> <div class="footer"> <hr> <p>Copyright © 1997-2012 Ericsson AB. All Rights Reserved.</p> </div> </div> </div></body> </html>