Debugging Turtle projects

toby

Well-Known Member
Licensed User
Longtime User
I noticed that In debug mode, drawing wouldn't start until the execution reaches "End Sub" line. I'm wondering whether there is a way to make it behave the same as normal B4A projects in that the app would draw as the execution goes, line by line.

Turtle project:
Sub Turtle_Start
    Turtle.SetPenColor(xui.Color_Blue).SetPenSize(5).SetSpeedFactor(1)
    Turtle.MoveForward(100).TurnLeft(90)
    Turtle.MoveForward(100).TurnLeft(90)
    Turtle.MoveForward(100).TurnLeft(90)
    Turtle.MoveForward(100).TurnLeft(90)
End Sub
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Top