Why does Corona simulator runs twice?

I’m using [text]intelliJ IDE[/text]. I did just print(123) and when I run the simulator it prints the following:

[text]
Windows simulator build date: June 19 2012 @ 23:58:39

Copyright © 2009-2012 C o r o n a L a b s I n c .
Version: 2.0.0
Build: 2012.840

123

Copyright © 2009-2012 C o r o n a L a b s I n c .
Version: 2.0.0
Build: 2012.840

123[/text] [import]uid: 123516 topic_id: 32286 reply_id: 332286[/import]

I see the same happening here using Glider IDE,

Somewhere in the Glider forum i found that this is normal behaviour due to the way they initiate the debugging. They interrupt the startup to get the debugger going, which cause corona to restart the app.

Sorry i cannot find that post, but after reading it i stopped worrying about it :wink:
[import]uid: 186146 topic_id: 32286 reply_id: 128464[/import]

Yeah this is standard behavior when anything stalls the initial startup as barta suggested. I bet the IntelliiJ debugger probably works the same way and waits for a connection first before executing the first line of code.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 32286 reply_id: 128491[/import]

I see the same happening here using Glider IDE,

Somewhere in the Glider forum i found that this is normal behaviour due to the way they initiate the debugging. They interrupt the startup to get the debugger going, which cause corona to restart the app.

Sorry i cannot find that post, but after reading it i stopped worrying about it :wink:
[import]uid: 186146 topic_id: 32286 reply_id: 128464[/import]

Yeah this is standard behavior when anything stalls the initial startup as barta suggested. I bet the IntelliiJ debugger probably works the same way and waits for a connection first before executing the first line of code.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 32286 reply_id: 128491[/import]