Tools Release Notes

## 1 Tools Release Notes

This document describes the changes made to the Tools application.

### 1.1 Tools 2.5.2

#### 1.1.1 Fixed Bugs and Malfunctions

- Fprof traces could become truncated for the SMP emulator. This bug has now been corrected.
  Own Id: OTP-6246

### 1.2 Tools 2.5.1

#### 1.2.1 Fixed Bugs and Malfunctions

- eprof now works somewhat better in the SMP emulator.
  Own Id: OTP-6152

### 1.3 Tools 2.5

#### 1.3.1 Fixed Bugs and Malfunctions

- Fixed some bugs in `make`:
  `make:files/1,2` can now handle a file in another directory as argument, similar to `make:all/0,1`.
  When specifying a file name including the `.erl` extension in `Emakefile`, `make:all/0,1` looked for the object code in the wrong place.
  When specifying a file name including the `.erl` extension in `Emakefile` and some compile options for the file, `make:files/0,1` did not use the options as it should do.
  Own Id: OTP-6057 Aux Id: seq10299
- `cover`: When `cover:stop()` 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.
  Now the cover compiled code is unloaded, meaning that processes lingering in/with references to it will be killed when `cover:stop` is called, instead of later crashing with `badarg` when trying to bump counters in ETS tables no longer existing.

#### 1.3.2 Improvements and New Features

- Replaced call to deprecated function `file:file_info/1` with call to `filelib:is_dir/1` and `filelib:is_regular/1` in `tags.erl`.
  Own Id: OTP-6079

### 1.4 Tools 2.4.7

#### 1.4.1 Fixed Bugs and Malfunctions

- A bug in `fprof` profiling causing erroneous inconsistent trace failure has been corrected.
  Own Id: OTP-5922 Aux Id: seq10203

### 1.5 Tools 2.4.6

#### 1.5.1 Fixed Bugs and Malfunctions

- Emacs: `erlang-man-function` and `erlang-man-module` used a pattern matching to find the requested module that sometimes yielded unexpected results. For example, `erlang-man-module file` would display the man page for `CosFileTransfer_File`.
  Own Id: OTP-5746 Aux Id: seq10096
- Some compiler warnings and Dialyzer warnings were eliminated in the Tools application.
  When tracing to a port (which `fprof` does), there could be fake schedule out/schedule in messages sent for a process that had exited.
  Own Id: OTP-5757

### 1.6 Tools 2.4.5

#### 1.6.1 Fixed Bugs and Malfunctions

- The cross reference tool `xref` did not handle the new `fun M:F/A` construct properly. This problem has been fixed.
  Own Id: OTP-5653

### 1.7 Tools 2.4.4

#### 1.7.1 Fixed Bugs and Malfunctions

- The `cover` tool did not escape '<' and '>' not beeing part of HTML tags in HTML log files.
  Own Id: OTP-5588

### 1.8 Tools 2.4.3

#### 1.8.1 Improvements and New Features

- It is now possible to encrypt the debug information in beam files, to help keep the source code secret. See `compile(3)` for how to provide the key for encrypting, and `beam_lib(3)` for how to provide the key for decryption so that tools such as Debugger, `xref`, or `cover` can be used.
  The `beam_lib:chunks/2` functions now accepts an additional chunk type '`compile_info`' to retrieve the compilation information directly as a term. (Thanks to Tobias Lindahl.)
  Own Id: OTP-5460 Aux Id: seq9787

### 1.9 Tools 2.4.2

#### 1.9.1 Fixed Bugs and Malfunctions

- The `cover` tool could not analyze empty modules on module level.
  Own Id: OTP-5418

### 1.10 Tools 2.4.1

#### 1.10.1 Fixed Bugs and Malfunctions

- The `xref` analysis `locals_not_used` could return too many functions. This problem has been fixed.
  Own Id: OTP-5071
- The `cover` tool could not always compile parse transformed modules. This problem has been fixed.
  Own Id: OTP-5305

Copyright © 1991-2006 Ericsson AB