This document contains a list of all potential incompatibilities between Erlang 5.2/OTP R9B and the previous version Erlang 5.1/OTP R8B, and is an extract from the release notes for the respective applications.
Object field in the {'DOWN', MonitorReference, Type,
Object, Info} messages is now always on the form
{RegisteredName, NodeName} when
erlang:monitor/2 has been called with a registered name
(see erlang(3)).
Comparisons between two ports or between two
references were previously unstable and didn't conform to
the Erlang specification. Comparisons between two pids
didn't previously conform to the Erlang specification. The comparison
between two pids, ports, or
references has therefore been changed and is now stable,
and does now conform to the Erlang specification.
Cut from the
Erlang specification:
If t1 and t2 are
both refs, both PIDs, or both ports, then t1 precedes
t2 if and only if either
* node(t1)
precedes node(t2), or
* node(t1) equals
node(t2) and t1 was created before
t2.
dbg:i/0 now
prints information about all traced nodesdbg:tracer/3 - same as tracer/2 but on the
given nodedbg:flush_trace_port/1
- same as flush_trace_port/0 but on the given nodedbg:trace_port_control/2 - same as
trace_port_control/1 but on the given nodedbg:get_tracer/1 - same as
get_tracer/0 but on the given nodedbg:stop_clear/0 - same as stop/0 but also
clears all trace patternsctp/0,
ctpl/0 and ctpg/0 - clears trace patterns on
all functionsdbg:tracer/0 or
dbg:tracer/2.dbg:ln/0 now includes the local node if it is traceddbg:p/2 and
dbg:tp/x are changed - the element
{matched,N} is replaced by
{matched,LocalNode,N}