Android Question Debugging B4A source that has been compiled to a library

wimpie3

Well-Known Member
Licensed User
Longtime User
I have created a B4A library (with Compile To Library from the menu). The library works great in stand alone mode. However, when I integrate the library in another B4A program, I get an error at a certain point, so there is a bug somewhere.

The console shows a red line with the error, but without the B4A line number. Unfortunately, there is also no Java error line number shown, so I even cannot take a look at the generated source code to find the source of the error.

So how can you handle debugging in this case? Should I add a log function after each and every line in the library to find out where things go wrong? What is the best scenario in such a case?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…