Closes the trace window if this window was opened or stops saving the trace information in a text file.
Remark: When the project is closed, the trace window is automatically closed and the text file save is stopped.
// Closing the trace window
TraceEnd()