# Runtime_tools Release Notes

## Runtime_tools 1.4

### Fixed errors and malfunctions

- Added `include` directory
  (Own Id: OTP-4736)

## Runtime_tools 1.3

### Fixed errors and malfunctions

- dbg:p/2 always returns error (i.e. does not crash) if faulty flag is given. Also dbg:c/4 now executes on a separate process and internal messages are no longer traced.
  (Own Id: OTP-4111)
  (Aux Id: Seq7131)

### Improvements and new features

- - Trace ports can now be opened on remote nodes
  - It is possible to use the local node as a "trace control node", i.e. trace only remote nodes.
  - The function `dbg:i/0` now prints information about all traced nodes
  - Added function `dbg:tracer/3` - same as `tracer/2` but on the given node
  - Added function `dbg:flush_trace_port/1` - same as `flush_trace_port/0` but on the given node
  - Added function `dbg:trace_port_control/2` - same as `trace_port_control/1` but on the given node
  - Added function `dbg:get_tracer/1` - same as `get_tracer/0` but on the given node
  - Added function `dbg:stop_clear/0` - same as `stop/0` but also clears all trace patterns
  - Added functions `ctp/0`, `ctpl/0` and `ctpg/0` - clears trace patterns on all functions
  - (Incompatible) A tracer is no longer autmatically started on the local node. I.e. to start a tracer on the local node you must explicitly call `dbg:tracer/0` or `dbg:tracer/2`.
  - (Incompatible) `dbg:ln/0` now includes the local node if it is traced
  - (Incompatible) Return values from `dbg:p/2` and `dbg:tp/x` are changed - the element `{matched,N}` is replaced by `{matched,LocalNode,N}`
  (*** POTENTIAL INCOMPATIBILITY ***)
  (Own Id: OTP-4346)

There are also release notes for older versions.