LB Booster
General >> Announcements >> LB Booster version 2.50 released http://lbb.conforums.com/index.cgi?board=announcements&action=display&num=1393933374 LB Booster version 2.50 released
Post by Richard Russell on Mar 4th, 2014, 10:42am
I am pleased to announce the release of LB Booster version 2.50. It may be downloaded from here:
You will need administrative privileges when running the program for the first time after upgrading (in Windows Vista, 7 and 8/8.1 use 'Run as administrator').
Changes in this version include: A debugger! This supports run-time trace with multiple breakpoints, Resume, Pause, Step Into and Step Over options, plus a variable listing. The '-D' command-line switch integrates this feature with LB Workshop.
A profiler! Discover where in your program the time is being spent.
Error reporting is improved (e.g. the quoted line number is more reliable).
3D (and more) arrays are supported (but REDIM can't change the size).
Programs larger than 2 Megabytes can be successfully run from the IDE.
FILEDIALOG always adds an 'All files (*.*)' option to the filter.
BOOLEAN and VOID return types from CALLDLL are fully implemented.
The 'setfocus' command, sent to a button, posts a WM_NEXTDLGCTL message.
A DATA statement can have a label (on the same line).As previously announced, this is likely to be the last major upgrade to LBB. I am finding it increasingly difficult to make changes without introducing bugs, and indeed I am not very confident that this version is bug-free: use at your own risk!
Richard.
Re: LB Booster version 2.50 released
Post by tsh73 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.
Besides that, superb.
Re: LB Booster version 2.50 released
Post by Richard Russell on Mar 5th, 2014, 8:56pm
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!
Richard. Re: LB Booster version 2.50 released
Post by Richard Russell 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).