It seems that the
are largely the same, with the notable exception that
Debug is used to pure debugging purposes. It emits rich messages in debug execution (debug mode).
Trace helps in application debugging, bug fixing, and profiling (after release).
The Debug class is of no use in release mode.