jrhodes Posted March 13, 2020 Share Posted March 13, 2020 (edited) Is there anyway from XB / RXB to use TRACE, but instead of printing the line number flow to screen, have it logged to either a array of some sort or written to a DSKx. file that i can review later? Edited March 13, 2020 by jrhodes 1 Quote Link to comment Share on other sites More sharing options...
Ed in SoDak Posted March 14, 2020 Share Posted March 14, 2020 Don't know about RXB but the Super Extended Basic TRACE command has what you wish to do. Specify a disk file instead of PIO. -Ed 1 Quote Link to comment Share on other sites More sharing options...
Ed in SoDak Posted March 14, 2020 Share Posted March 14, 2020 Another trick I've employed is to reserve some screen space and do a DISPLAY AT to that space whenever I wanted to give myself a headsup when the program hit a certain line or routine and/or display any variables I was tracking. Written as a subroutine or GOTO/RETURN, you could get pretty fancy with it if you wished. Display to the screen, and/or write to the printer, a file, whatever you wanted. This avoided displaying an onscreen trace of all executed lines and narrowed it down to only those things you were actively tracking or troubleshooting. Plus your program's screen display wasn't messed with! -Ed 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.