Report Bugs Here

Moderator: Mmiscool

User avatar
By Mmiscool
#52917 Ahhh. Transparently you have not run it from the debug link.

Get rid of the old debugon command and upgrade to the link on the tool bar at the top. Don't click run. Click debug. The debug screen will appear and it will not run until you click the "run" button. When you launch from the debug link it will allow for the user to stop the loop and every thing else. Be careful. With the speed at which esp basic is running now the debugger might cause an epileptic seizure.
Code: Select allt = 0
[poo]
if t = 0 then
t = 1
else
t = 0
end if
goto [poo]
User avatar
By raintime
#52921 OK. I stand CORRECTED! Much Better. I will never use the old "debugon" statement again!

I tried the following program:


[poo]
goto [mybranch]

[mybranch]
goto [poo]


BUT, when I press the STOP button, it says, "Error at line 2: Halted". Of course there IS no error at line 2. It should just say: "Halted At Line 2."

It would be friendly, if, after STOP is pressed, the PAUSE and CONTINUE buttons go to a "disabled and gray" state, since pressing for example CONTINUE after pressing STOP is not good.