Welcome Guest. Please Login or Register. Apr 1st, 2018, 03:40am
ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018. We apologize Conforums does not have any export functions to migrate data. Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.
Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
Re: LB Booster version 2.50 released
« Reply #1 on: Mar 5th, 2014, 6:14pm »
Just tried profiler. It seems that it doesn't consider program "done" until encountering !QUIT - END is not enough. So last line gets lot's of percentage.
Just tried profiler. It seems that it doesn't consider program "done" until encountering !QUIT - END is not enough.
It works exactly as I would expect - i.e. it continues profiling until the program is terminated. In LBB (and in LB) 'end' only terminates a program if there is a 'nomainwin'; if the mainwin is displayed, 'end' doesn't terminate the program!
Normally a Liberty BASIC program is terminated by the user. If it's a GUI program ('nomainwin') typically it will be terminated by clicking on a GUI window's Close button or by selecting Exit from a menu. If it's a 'console' style program, it will be terminated by clicking on the mainwin's Close button. Either way, that is when the profiler will generate its report.
It would be difficult to make it work any differently, because in LBB 'end' doesn't alter the state of the program - it is 'running' (for example in order to allow you to scroll the mainwin, or to copy its contents to the clipboard) just as much as it was beforehand!
Re: LB Booster version 2.50 released
« Reply #3 on: Mar 6th, 2014, 4:41pm »
I told you I wasn't very confident! Rod Bird has managed to find an obscure bug - present since the very first release - which I've now fixed in LBB version 2.51:
I've taken the opportunity to change the format of the profiler report file so that it displays correctly in WordPad, and to address a compatibility issue with the old lb3_toolbar DLL (which I'm not sure is any longer available, but which some people apparently still use).