IF VERSION(2)#0 THEN ACTIVATE WINDOW DEBUG ENDIF- If you want meaningful information in the trace panel, make sure you compile the EXE so that Debug info item is checked in the project properties. Also you'll need to be launching the program in a directory where the source files will be visible.