Why does this program produce no output in the debug window? In fact I can never seem to get the first debug statement in a program to work. (Picaxe 18m2+)
Why does this program produce no output in the debug window? In fact I can never seem to get the first debug statement in a program to work. (Picaxe 18m2+)
As others have indicated, the debug Window at the computer side is simply not open by the time the PICAXe does the first debug, hence it gets missed by the computer. A simple pause will resolve that.
The need for a pause at the start is also not limited to use of the Debug command.
If you use SERTXD to send data to the programming Editor Terminal Window as it takes some time for the terminal window to establish itself. This will result in "lost" information if the Terminal Window is opened just as the program download completes.