johnwalton 12 Posted September 4, 2018 Report Share Posted September 4, 2018 (edited) Hi,While troubleshooting i find myself needing to verify that certain variables (in a sequence), that 'Do not equal nothing' inside the debugger, I'm basically running through the process and make sure each segment is setup.it takes a long time to do it one by one with the Filter feature.Wish there was a search function! Is there a shortcut to search within the uBot Debugger?Thanks! Edited September 15, 2018 by johnwalton Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted September 4, 2018 Report Share Posted September 4, 2018 There's a filter function already. Click the filter icon on the right side of Names at the top of the debugger. 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 4, 2018 Report Share Posted September 4, 2018 What do you mean by verify? Could you build a script for it? 1 Quote Link to post Share on other sites
Topazy 1 Posted September 5, 2018 Report Share Posted September 5, 2018 (edited) d really like to see some more advanced/enhanced debugging capabilities.. here's a few for example:The ability to debug/step through a script from certain points. Like running a script and then switching to and from debug mode on the flyFollowing steps... this is lost inside loopsSetting start points (an opposite to stop script)Collapsible and/or highlighted code viewA clear all variables button (like the one in the debugger) but in commandsA sort function in the debugger window The ability to collapse multi-line variables in the the debugger windowThe ability to save the contents of the debug window to a text file Edited September 10, 2018 by HelloInsomnia 2nd time he tried to sneak a link in - warned 1 Quote Link to post Share on other sites
Frank 177 Posted September 5, 2018 Report Share Posted September 5, 2018 My programs run 100's of variables as well and the real trick is to use the function of local variables in ubot. This will elevated a lot of pain. A bit trickier to develop but build your programs functionality into modules and create tests to test them and you should be golden. Frank 2 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 6, 2018 Report Share Posted September 6, 2018 A clear all variables button (like the one in the debugger) but in commands For this one you can use this: http://wiki.ubotstudio.com/wiki/Clear_All_Data 2 Quote Link to post Share on other sites
johnwalton 12 Posted September 9, 2018 Author Report Share Posted September 9, 2018 a simple 'Control + E' search function would be very much appreciated and would save me a great many clicks Quote Link to post Share on other sites
johnwalton 12 Posted September 9, 2018 Author Report Share Posted September 9, 2018 There's a filter function already. Click the filter icon on the right side of Names at the top of the debugger.Yes but when you need to go through 50 vars it becomes quite redundant . Quote Link to post Share on other sites
johnwalton 12 Posted September 9, 2018 Author Report Share Posted September 9, 2018 My programs run 100's of variables as well and the real trick is to use the function of local variables in ubot. This will elevated a lot of pain. A bit trickier to develop but build your programs functionality into modules and create tests to test them and you should be golden. FrankAhh interesting Frank! thx Quote Link to post Share on other sites
johnwalton 12 Posted September 9, 2018 Author Report Share Posted September 9, 2018 Is there a plugin to search 'Code View' code within uBot?I've been copying/pasting into Notepadd++ Quote Link to post Share on other sites
UBotBuddy 331 Posted September 9, 2018 Report Share Posted September 9, 2018 I'm like Frank with Variables. I love them. It makes debugging a whole lot easier. While command stacking is a nice feature, you're up the proverbial creek when tryingto debug those. Concerning variable, I would HIGHLY suggest that you develop a naming standardwith your variables. E.g. tbl-01-name, tbl-02-userid, etc. tbl = Table. I also uselst = List, sql = SQL (obvious). The number places them in the order that I use them. When I create a variable, I will also create a cleanup version like setting it to $nothing.I leave nothing to chance. Buddy Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 10, 2018 Report Share Posted September 10, 2018 Is there a plugin to search 'Code View' code within uBot?I've been copying/pasting into Notepadd++ Heopas Plugin had something like this but now I don't see it maybe somebody can chime in and say what version it was in. As for the rest of it if Ubot would add a bit more functionality to their plugin API like the ability to get all variables, lists and tables for example making a more advanced debugger would be doable for plugin makers but at this time were kind of limited to what we can see - and need to know the names of the variables, lists and tables to be able to interact with them. 1 Quote Link to post Share on other sites
heopas 90 Posted December 10, 2018 Report Share Posted December 10, 2018 Heopas Plugin had something like this but now I don't see it maybe somebody can chime in and say what version it was in. As for the rest of it if Ubot would add a bit more functionality to their plugin API like the ability to get all variables, lists and tables for example making a more advanced debugger would be doable for plugin makers but at this time were kind of limited to what we can see - and need to know the names of the variables, lists and tables to be able to interact with them.I think is enabled in latest version. 1 Quote Link to post Share on other sites
HelloInsomnia 1103 Posted December 10, 2018 Report Share Posted December 10, 2018 As for the rest of it if Ubot would add a bit more functionality to their plugin API like the ability to get all variables, lists and tables for example making a more advanced debugger would be doable for plugin makers but at this time were kind of limited to what we can see - and need to know the names of the variables, lists and tables to be able to interact with them. I guess there are ways around this and maybe it could be done but it's pretty janky and it would be better if Ubot gave us the info instead of trying to get it in some hacky way. 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.