Basically debug class is disabled in release build configuration .. Trace is not
http://stackoverflow.com/questions/740240/what-is-the-difference-between-debug-write-and-trace-write