Using the Debug feature
#9
(09-22-2022, 11:44 PM)PhilOfPerth Wrote: I am curious about the Debug function. I have set watch points and then run my programme - what next?
There is no output of results visible, and no message to say the Debug has operated. Should I get a file with run results, or what?  Confused

Did you check out the Wiki page for $DEBUG? Note that only variables added to the watchlist will be displayed, press F7 to start debugging paused on the first instruction, then F4 to open the watchlist dialog. After adding the variables of interest close the dialog, then proceed with F6/F7/F8 as needed. If you've set a breakpoint, then you may also press F5 as usual to quickly run your program until the breakpoint. Note that breakpoints must be set on lines containing real code, breaks on comment lines have no effect and your program just runs over it, as the compiled program doesn't know the comment lines, those exist in the source text only.
Reply


Messages In This Thread
Using the Debug feature - by PhilOfPerth - 09-22-2022, 11:44 PM
RE: Using the Debug feature - by Pete - 09-23-2022, 04:26 PM
RE: Using the Debug feature - by SpriggsySpriggs - 09-23-2022, 04:45 PM
RE: Using the Debug feature - by mdijkens - 09-23-2022, 07:31 PM
RE: Using the Debug feature - by Pete - 09-23-2022, 07:52 PM
RE: Using the Debug feature - by mdijkens - 09-23-2022, 08:47 PM
RE: Using the Debug feature - by mnrvovrfc - 09-24-2022, 03:57 PM
RE: Using the Debug feature - by PhilOfPerth - 09-23-2022, 11:25 PM
RE: Using the Debug feature - by Pete - 09-23-2022, 11:51 PM
RE: Using the Debug feature - by PhilOfPerth - 09-24-2022, 12:38 AM
RE: Using the Debug feature - by PhilOfPerth - 09-24-2022, 12:42 AM
RE: Using the Debug feature - by RhoSigma - 09-24-2022, 12:23 AM
RE: Using the Debug feature - by Pete - 09-24-2022, 12:31 AM
RE: Using the Debug feature - by PhilOfPerth - 09-24-2022, 12:50 AM
RE: Using the Debug feature - by Pete - 09-24-2022, 01:08 AM
RE: Using the Debug feature - by PhilOfPerth - 09-24-2022, 01:42 AM
RE: Using the Debug feature - by Pete - 09-24-2022, 01:56 AM
RE: Using the Debug feature - by PhilOfPerth - 09-24-2022, 02:18 AM



Users browsing this thread: 4 Guest(s)