lizblackwood0 0 Posted May 3, 2017 Report Share Posted May 3, 2017 Is there a way to tell uBot to continue automatically after a script error window pops up? Quote Link to post Share on other sites
pash 504 Posted May 3, 2017 Report Share Posted May 3, 2017 Menu >> Tools >> Options >> un-checkbox "show errors" 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 3, 2017 Report Share Posted May 3, 2017 Compile the bot and the script errors won't show in the compiled version. But there must be a reason why they show so you may want to try and diagnose the problem. 1 Quote Link to post Share on other sites
sbm128 12 Posted May 3, 2017 Report Share Posted May 3, 2017 On that note - I spent more than a few hours over the last couple days trying to diagnose a bot that wasnt finishing its loop properly. Step by step runthrough didnt reveal any problems, seemed fine. As I was coming off my lunch break, right as I was walking outside the door, i saw the problem. A single misplaced comma in some of the input the bot was using was causing a timeout I hadn't noticed. Bot works fine now. I love UBot, but the debugger is seriously lacking in more than a few ways. "There is an error in your code" is .... pretty vauge, and no diagnostics really exist as it stand. Any particular extra methods anyone has for creating impromptu debugging strategies? I think that the debugger needs to be focused on at some point, but until then, any ideas anyone has been using would be great to hear 1 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted May 4, 2017 Report Share Posted May 4, 2017 On that note - I spent more than a few hours over the last couple days trying to diagnose a bot that wasnt finishing its loop properly. Step by step runthrough didnt reveal any problems, seemed fine. As I was coming off my lunch break, right as I was walking outside the door, i saw the problem. A single misplaced comma in some of the input the bot was using was causing a timeout I hadn't noticed. Bot works fine now. I love UBot, but the debugger is seriously lacking in more than a few ways. "There is an error in your code" is .... pretty vauge, and no diagnostics really exist as it stand. Any particular extra methods anyone has for creating impromptu debugging strategies? I think that the debugger needs to be focused on at some point, but until then, any ideas anyone has been using would be great to hearI think that is when switching views, code to node. Other ways to debug are:You can use ubot's built in logging.or http://network.ubotstudio.com/forum/index.php?/topic/17774-tut-ez-logging-while-debugging-or-in-production/?/topic/17774-tut-ez-logging-while-debugging-or-in-production/ Also, you can use the "alert' command to see what's inside functions and variables. Regards,Nick 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.