Search This Blog

_____________________________________________________________

Join Our Site To Subscribe

Wednesday, July 27, 2011

How to Log traces to disk

You can configure the emulator to log traces to a text file. To do this:
2.      Check the Log new traces to disk check box.
3.      Click the Browse button.
4.      Select the text file you want to hold trace information. If you want to create a new file, type the name of the new file in the File name field.
Tip: You can log data to a file with any extension (or with no extension at all). However, to be able to view traces with a text editor (such as Windows Notepad), use a TXT file extension.
5.      Click Open. If the file you selected already has data in it, the software asks if you want to append your traces to the end of the file, overwrite the data in the file with the traces, or cancel.
6.      Execute your logic. When a TPT instruction executes, the trace information is logged to the file you selected.
7.      When you are ready to view the traces stored in the log file, display the emulator configuration, then click Close Log File. You can then open the log file in a text editor (such as Windows Notepad).
Tip: If you try to open the log file without closing it in the emulator configuration, you will see an error message saying that the file cannot be accessed. You must close the log file in the emulator before it can be viewed by another application.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...