Debugger isn't working properly

When I run a project from within CIDER 1.5.3 it is always ran twice in the simulator.

Debugging and breakpoints work fine until the second instance starts which occurs about 50 lines into initialisation of the first instance.

After the second instance starts then breakpoints just cause the the whole thing to stop working when they get hit. I get the error “CiderDebugger.lua:836: attempt to concatenate local ‘i’ (a table value)”

[import]uid: 163144 topic_id: 28877 reply_id: 328877[/import]

Hello al71,

The double start bug always occurs because Corona seems to restart itself if it detects the main chunk stalling (which Cider temporarily does in order to sync the IDE and the simulator.) Our suggestion to get around this bug is to only start debugging once and just restart the simulator like you normally would with another text editor (ie Notepad++). This will also improve your code iteration time.

As for the table value bug, this has been fixed in the upcoming 1.6 release but we are currently working on completing some critical features. We will try to patch 1.5.3 with the relevant 1.6 files.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 28877 reply_id: 116356[/import]

@al71,

The table-index issue should now be fixed. Please let us know if it works now.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 28877 reply_id: 116368[/import]

I’ve grabbed your update - yes it is all working now! I am astonished how quick you have fixed this - and on a Saturday!!!

Very much appreciated!

Keep up the good work!

Al [import]uid: 163144 topic_id: 28877 reply_id: 116371[/import]