App not working with similar Corona app running in background

Are there any news regarding this problem?

What are the people behind Cider (Glider) saying about it?

I still encounter this issue with a new update for my app and I don’t have any idea where to look at to make it work.

D. Mach
[import]uid: 137572 topic_id: 29650 reply_id: 126705[/import]

Hello D.Mach,

Sorry about your problems and thanks everyone for their help.
There will be a problem running two simulators with the debugger running because the IDE cannot debug two instances at the same time. In fact if you are getting errors in the console saying something like “cannot connect to bad self” it means the socket the debugger is using to communicate with the IDE is already used. Here is one solution we purpose that may fix your problem

  1. Make sure the “require ciderdebugger.lua” line is gone from your main.lua file. The IDE should remove this automatically when you close.

  2. Run the application using the simulator manually.

  3. Open up the IDE and you should be able to start debugging.

We will have to think of a more robust way to handle multiplayer debugging. It is a bit of a challenge because which instance should we listen to? If one hits a breakpoint should we pause both? Which variable/stack trace dump to show? If you are trying to debug a multiplayer game we can think of a way to load 2 IDE instances simultaneously, just let us know if this is what you want.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29650 reply_id: 126823[/import]

Are there any news regarding this problem?

What are the people behind Cider (Glider) saying about it?

I still encounter this issue with a new update for my app and I don’t have any idea where to look at to make it work.

D. Mach
[import]uid: 137572 topic_id: 29650 reply_id: 126705[/import]

Indeed, my previous apps were closed or crash when running simultaneously. I removed the line indicating and now works perfect.

CIDER I use to generate code and generates me that line in the main.lua. - I must be very careful and check that there is that line before compiling, it generates itself constantly.

Peach thank you very much for the help … and I’d appreciate if you have time to help me how to fix the buttons to take dynamic variables from within a ScrollView.

http://developer.coronalabs.com/forum/2012/10/08/widget-scrollview-rescue-data-dynamic-buttons

Greetings all.
Oscar- [import]uid: 121547 topic_id: 29650 reply_id: 126905[/import]

“I must be very careful and check that there is that line before compiling, it generates itself constantly”

Which version are you using, the current one v 1.7.2 does more to ensure that neither the require line or the ciderdebugger.lua files are removed when no longer needed.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29650 reply_id: 126938[/import]

Hi, i`m using 1.3 version (last version).
Every time I run the simulator (for the first time), it automatically generates the line … I delete it and then save it and then I’m ready to export to iOS correctly. [import]uid: 121547 topic_id: 29650 reply_id: 126950[/import]

what happened to CIDER??? i see GLIDER¿?¿?¿?¿ [import]uid: 121547 topic_id: 29650 reply_id: 126951[/import]

Hello D.Mach,

Sorry about your problems and thanks everyone for their help.
There will be a problem running two simulators with the debugger running because the IDE cannot debug two instances at the same time. In fact if you are getting errors in the console saying something like “cannot connect to bad self” it means the socket the debugger is using to communicate with the IDE is already used. Here is one solution we purpose that may fix your problem

  1. Make sure the “require ciderdebugger.lua” line is gone from your main.lua file. The IDE should remove this automatically when you close.

  2. Run the application using the simulator manually.

  3. Open up the IDE and you should be able to start debugging.

We will have to think of a more robust way to handle multiplayer debugging. It is a bit of a challenge because which instance should we listen to? If one hits a breakpoint should we pause both? Which variable/stack trace dump to show? If you are trying to debug a multiplayer game we can think of a way to load 2 IDE instances simultaneously, just let us know if this is what you want.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29650 reply_id: 126823[/import]

Indeed, my previous apps were closed or crash when running simultaneously. I removed the line indicating and now works perfect.

CIDER I use to generate code and generates me that line in the main.lua. - I must be very careful and check that there is that line before compiling, it generates itself constantly.

Peach thank you very much for the help … and I’d appreciate if you have time to help me how to fix the buttons to take dynamic variables from within a ScrollView.

http://developer.coronalabs.com/forum/2012/10/08/widget-scrollview-rescue-data-dynamic-buttons

Greetings all.
Oscar- [import]uid: 121547 topic_id: 29650 reply_id: 126905[/import]

“I must be very careful and check that there is that line before compiling, it generates itself constantly”

Which version are you using, the current one v 1.7.2 does more to ensure that neither the require line or the ciderdebugger.lua files are removed when no longer needed.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 29650 reply_id: 126938[/import]

Hi, i`m using 1.3 version (last version).
Every time I run the simulator (for the first time), it automatically generates the line … I delete it and then save it and then I’m ready to export to iOS correctly. [import]uid: 121547 topic_id: 29650 reply_id: 126950[/import]

what happened to CIDER??? i see GLIDER¿?¿?¿?¿ [import]uid: 121547 topic_id: 29650 reply_id: 126951[/import]