I was in a very long loop that I wanted to stop,
the stop build/run is grey out.
What key should I press to stop the process?
thank you [import]uid: 31508 topic_id: 31581 reply_id: 331581[/import]
I was in a very long loop that I wanted to stop,
the stop build/run is grey out.
What key should I press to stop the process?
thank you [import]uid: 31508 topic_id: 31581 reply_id: 331581[/import]
CTRL-R on a PC, CMD-R on a Mac will cause the simulator to reload/refresh itself.
[import]uid: 19626 topic_id: 31581 reply_id: 126197[/import]
Just to put it out there as also useful; using the down arrow + CMD/CTRL will pause the simulator [import]uid: 52491 topic_id: 31581 reply_id: 126198[/import]
Thanks Rob and Peach,
but your both suggestions don’t work :o
The loop still continue. [import]uid: 31508 topic_id: 31581 reply_id: 126218[/import]
@Rob and Peach,
Thanks for the help!
@bpran,
Which loop are you trying to stop? You can generally stop the program execution with the pause command and the IDE will take you to the last lua line executed. If this does not work you might have to force quit and let us know how to replicate the problem.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31581 reply_id: 126254[/import]
let’s just say I accidentally stuck in eternity loop,
what key to press to get out of the loop? I don’t see ‘pause’ or ‘stop’ or ‘break’ button to press. [import]uid: 31508 topic_id: 31581 reply_id: 126294[/import]
Hello bpran,
Please see the screenshot below to make sure we understand what you are asking:
As you can see you should be able to pause execution whenever you like. If you are stuck in a loop the program counter (arrow #3) will point you to the cause of the problem.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31581 reply_id: 126397[/import]
CTRL-R on a PC, CMD-R on a Mac will cause the simulator to reload/refresh itself.
[import]uid: 19626 topic_id: 31581 reply_id: 126197[/import]
…but if you press F6 (Run Main Project), there is no PAUSE or STOP button [import]uid: 31508 topic_id: 31581 reply_id: 126419[/import]
Just to put it out there as also useful; using the down arrow + CMD/CTRL will pause the simulator [import]uid: 52491 topic_id: 31581 reply_id: 126198[/import]
Thanks Rob and Peach,
but your both suggestions don’t work :o
The loop still continue. [import]uid: 31508 topic_id: 31581 reply_id: 126218[/import]
@Rob and Peach,
Thanks for the help!
@bpran,
Which loop are you trying to stop? You can generally stop the program execution with the pause command and the IDE will take you to the last lua line executed. If this does not work you might have to force quit and let us know how to replicate the problem.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31581 reply_id: 126254[/import]
let’s just say I accidentally stuck in eternity loop,
what key to press to get out of the loop? I don’t see ‘pause’ or ‘stop’ or ‘break’ button to press. [import]uid: 31508 topic_id: 31581 reply_id: 126294[/import]
Hello bpran,
Run project does not have the debugging facilities and pause and stop require the debugger to be present. Unless you are having performance issues with the debugger you should always use debug. If you are having performance problems during startup (ie the main chunk) you can disable debugging until it gets to the first frame. See the image below:
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31581 reply_id: 126565[/import]
Hello bpran,
Please see the screenshot below to make sure we understand what you are asking:
As you can see you should be able to pause execution whenever you like. If you are stuck in a loop the program counter (arrow #3) will point you to the cause of the problem.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31581 reply_id: 126397[/import]
…but if you press F6 (Run Main Project), there is no PAUSE or STOP button [import]uid: 31508 topic_id: 31581 reply_id: 126419[/import]
Hello bpran,
Run project does not have the debugging facilities and pause and stop require the debugger to be present. Unless you are having performance issues with the debugger you should always use debug. If you are having performance problems during startup (ie the main chunk) you can disable debugging until it gets to the first frame. See the image below:
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31581 reply_id: 126565[/import]