LB Booster
« LB Booster version 2.50 released »

Welcome Guest. Please Login or Register.
Apr 29th, 2017, 03:39am


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!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
LB Umbrella forum
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: LB Booster version 2.50 released  (Read 1435 times)
tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM


Posts: 172
xx 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.

Besides that, superb.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1164
xx Re: LB Booster version 2.50 released
« Reply #2 on: Mar 5th, 2014, 8:56pm »

on Mar 5th, 2014, 6:14pm, tsh73 wrote:
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.
« Last Edit: Mar 5th, 2014, 9:15pm by Richard Russell » User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1164
xx 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:

http://lbbooster.com/LBB.exe (IDE/compiler)
http://lbbooster.com/LBBRUN.exe (optional runtime engine)

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).

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!


This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls