Wish source code line numbers: generated Java line numbers cross reference to B4A source

peacemaker

Expert
Licensed User
Longtime User
Debugging is hard, if only Java error log is available. Java source code line numbers are useless for the exact B4A soure line code debugging withing the sub mentioned in the log.
I think, if during compilation to create also the cross reference file of B4A lines corresponding to Java line numbers - it will be much easy debugging, remote debugging.

File like "ObfuscatorMap.txt" in Object folder.
 
Last edited:

Carthalion

Member
Licensed User
Longtime User
Great ideal, although I would be happy to look elsewhere for the Java code to debug. Only I haven't figure out where to look Example, if the error is in line 500 in the log and my code only goes to 100, is there a place where I can see what is happening in line 500?
 

peacemaker

Expert
Licensed User
Longtime User
i guess, Erel should know where Java's block start (500) corresponds Basic's 100'd line, as he should know the compiler.
 
Last edited:

peacemaker

Expert
Licensed User
Longtime User
I see in Google Analytics for several my apps such error line:
B4X:
NullPointerException (@Timer$TickTack:run:104) {main}
How to understand what timer is it ? I use several timers, in activities and service.

Erel, how do you think - this topic wish is possible ? Didn't you try to do maybe ?
 
Top