| Debugging with Corona SDK (Juno) [message #988462] |
Thu, 29 November 2012 20:00  |
Gary Dotzlaw Messages: 4 Registered: November 2012 |
Junior Member |
|
|
I watched Benjamin's video on connecting Koneki to the Corona SDK simulator, but I'm having a problems. The problem is that when I launch the main.lua file with my launch configuration, even though I have a break point set at the same place shown, nothing happens.
I've setup my debug configuration exactly like shown in the video, and setup a run configuration for external tools using the the Location = "[path]\Corona Simulator.exe", Working Directory = "[path]" and Arguments = "${workspace_loc}\${container_path}\${selected_resource_name}".
I select the main.lua file
I start the debugger configuration in Eclipse
I launch the Corona debugger (opens debugger, output and simulator)
I start my run configuration, and a new version of the Corona SDK opens and the game starts (nothing happens in the debugger; I do not get the prompt to enter "Run" shown in the video)
I must be doing something wrong. Any ideas?
Window 7(64)
Corona Simulator 2012.971
Eclipse 4.2.1
|
|
|
|
|
|
| Re: Debugging with Corona SDK (Juno) [message #1059629 is a reply to message #988462] |
Mon, 20 May 2013 19:00  |
Linus Janson Messages: 3 Registered: May 2013 |
Junior Member |
|
|
When you Debug, the app is started, but paused. When you then also Run it, you get another copy running in Run mode (not debug mode), just as you describe.
You have to start debugging it from the terminal window (by entering "run").
Debug works fine with latest Eclipse Java EE Juno here.
Happy bug hunting
Android Developer
Free Thought Games
freethoughtgames.wordpress.com
[Updated on: Mon, 20 May 2013 19:02] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01597 seconds