Added getTraceAsString