Thanks Tom.
For any noobs such as myself reading this, my main problem was not knowing where to set the breakpoint (terminal, xcode?). I kept trying to right-click in Xcode and obviously that wasn’t working.
So here’s what I did to follow the Sample Debugging Session (I used line 100 but I think it’s 96 in the example).
Paused at file main.lua
Type ‘help’ for commands
> setb main.lua 100
> run
Paused at file main.lua line 100
> dump event.x
event.x(number) = 79
>
-Eric
[import]uid: 9059 topic_id: 336 reply_id: 6367[/import]
I agree that the docs on the debugger are not very clear nor complete. It’s on my todo list.
-Tom [import]uid: 7559 topic_id: 336 reply_id: 6570[/import]
OK , so in March 5th 2011, the Terminal and Debugger for my installation are not working. I just get the following. When will this get fixed??? My debugger just presents all gibberish. While the Simulator appears to work fine , I am unable to use Terminal/Debugger for anything. HELP ! HELP !
#!/bin/bash
path=dirname "$0"
if [[-f “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator”]]
then
“$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
else
echo “ERROR: Could not find “Corona Simulator.app” in: $path”
fi
[import]uid: 792 topic_id: 336 reply_id: 26599[/import]
Mine works fine. [import]uid: 5712 topic_id: 336 reply_id: 26600[/import]
Hi Staff & Developers
is the debugger-problem fixed yet (as of TODAY March21st 2011) ?
My debugger worked fine until yesterday afternoon. Now it’s not working any longer. It just pauses right after it starts (any project): Paused at file main.lua
I have to type run to start it or the simulator will only show a black screen.
I can NOT relaunch the app to debug again, I would have to start the debugger and the whole project from start…
any advice? Does a new installation help? [import]uid: 45296 topic_id: 336 reply_id: 28731[/import]