Warnings are coming...

Erel

B4X founder
Staff member
Licensed User
Longtime User
The next version will include a new "warning engine". The purpose of this engine is to help by finding common programming mistakes.



Errors and warnings will be updated whenever you save the project (or choose Test Compile).

Most of the warnings are compile-time warnings. There are however also several runtime warnings. These warnings are only checked in Debug mode.

All the warnings can be disabled easily.

The current list of compile-time warnings:
 

barx

Well-Known Member
Licensed User
Longtime User
Sounds like an interesting feature. Should help keep errors / debug time to a minimum.
 
Upvote 0

HCAZ

Member
Licensed User
Longtime User
This sounds great, cant wait for it to come out.
Will the underlines be different colours for different errors?
Like Warning / Error type of thing?
 
Upvote 0

imbault

Well-Known Member
Licensed User
Longtime User
Very interesting feature Erel.

What else can we expect with this new release???

Bravo.

Patrick
 
Upvote 0

clewgsm

Member
Licensed User
Longtime User
Hi Erel,

it would be very useful also having a new option (in the Tools Menu) that allows to execute small scripts, i.e. something like "adb logcat -c", etc..
Do you think is it feasable ?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Will the underlines be different colours for different errors?
Errors will be colored red. The current implementation fails on the first error. So when there is a compilation error, only this error will be displayed.

Also, you should be using DIP on line #30 (sorry couldn't resist)
For that we have warning #6.

What else can we expect with this new release???
Things are not 100% close yet. Two new major features:
- Smart management of bitmaps to help avoid out of memory exceptions.
- Ability to add custom classes / libraries with the designer. In this version the designer will not show the actual custom view (due to technical limitations of loading classes at runtime) however it will still be very useful for visually building the layout.

There are many other "smaller" improvements planned.
 
Upvote 0

mebcs

Member
Licensed User
Longtime User
Excelent

I always have trouble finding dead code (Unused routines and variables). Looking forward to release.
 
Upvote 0

Beja

Expert
Licensed User
Longtime User
Great as usual'
Also hope next vesion will include installer that automates all the steps.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…