--- title: "Trace" type: "article" slug: "trace-2" url: "http://localhost/article/trace-2/" markdown_url: "http://localhost/article/trace-2.md" published_at: "2026-01-25T22:09:53+00:00" modified_at: "2026-02-04T08:41:10+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "This program will help a BASIC programmer to debug a program. What it does is simple, while the program is running, the computer will display the line it's executing at the bottom of the screen. While using the trace you'll notice that the program slows down quite a bit, and sometimes a program line is…" category: - name: "Byte Power" slug: "byte-power" taxonomy: "category" url: "http://localhost/category/periodicals/byte-power/" post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" indiv: - name: "Eric Boisvert" slug: "boisvert-eric" taxonomy: "indiv" url: "http://localhost/indiv/boisvert-eric/" publication_r: id: 38570 title: "Byte Power 1st Class Magazine" type: "periodical" url: "http://localhost/periodical/byte-power-1st-class/" authors_r: - name: "Eric Boisvert" slug: "boisvert-eric" taxonomy: "indiv" url: "http://localhost/indiv/boisvert-eric/" issues_articles: - id: 38574 title: "Byte Power Nov 1986" type: "issue" url: "http://localhost/issue/byte-power-4/" pubdate: "November 1986" archive_link: true article_media: - id: 63293 title: "Trace" type: "computer_media" url: "http://localhost/computer_media/trace/" --- # Trace This program will help a BASIC programmer to debug a program. What it does is simple, while the program is running, the computer will display the line it’s executing at the bottom of the screen. While using the trace you’ll notice that the program slows down quite a bit, and sometimes a program line is skipped (not printed, but it is executed) this is due to the computer’s limitation. To TRACE, RANDOMIZE USR 65298, to STOP TRACING USR 65305 ## Source Code: Trace ``` 10 REM TRACE WRITTEN BY ERIC BOISVERT COPYRIGHT 1986 BYTE POWER 20 CLEAR 64600: PRINT "TRACE WRITTEN BY ERIC BOISVERT COPYRIGHT BYTE POWER 1986"''' 30 IF PEEK 23681=0 THEN LIST 9999: STOP 40 PRINT "TRACE IS NOW ON" 50 PRINT '"RANDOMIZE USR 65298 TO START RANDOMIZE USR 65305 TO STOP" 55 PRINT ''"UDG'S ARE NOT AFFECTED." 60 PRINT ''"DELETE LINE 10,9999 (DELETE 1,)" 70 PRINT '"WHEN PROGRAMMING TRACE SHOULD BEOFF!" 80 RANDOMIZE USR 65298: STOP 9000 REM LOAD CODES 9010 LOAD "TRACE CODE"CODE 9020 GO TO 1 9999 SAVE "TRACE" LINE 9000: SAVE "TRACE CODE"CODE 64608,700: VERIFY "TRACE": VERIFY "TRACE CODE"CODE ```