Can someone please help me. I am just learning Corona and tried to use the debugger but when I set a breakpoint and run the loaded file the game runs until the end of the file and does not stop at the breakpoint.
Here is my code in a main.lua file:
myText = display.newText( "This is a test!", 20, 40, native.systemFont, 36 )
myText:setTextColor( 255,255,0 )
function doit()
print("Testing Testing")
end
doit()
In the debugger I load the main.lua file.
I then type in the debugger:
b main.lua 7
This should insert a breakpoint right before the function doit() is called.
When I run the game the entire script is executed including line 8 which executes doit().
Am I not doing something right?
-J
[import]uid: 10753 topic_id: 3517 reply_id: 303517[/import]