boten Active Member Licensed User Longtime User Nov 11, 2013 #1 A user emiled me about an error: an error has occurred in sub: main_some_sub (java line: 1234) java.lang.someexception I can locate the generated java code (main.java) in sub-dir Objects/src/..... But how can I relate the java line with the error to the Java code? the commented lines: //BA.debugLineNum = 1234;BA.debugLine="....." does not correspond the the reported sub Any help?
A user emiled me about an error: an error has occurred in sub: main_some_sub (java line: 1234) java.lang.someexception I can locate the generated java code (main.java) in sub-dir Objects/src/..... But how can I relate the java line with the error to the Java code? the commented lines: //BA.debugLineNum = 1234;BA.debugLine="....." does not correspond the the reported sub Any help?
Erel B4X founder Staff member Licensed User Longtime User Nov 11, 2013 #2 Open the Java file with Notepad++. It shows the line numbers. Upvote 0
boten Active Member Licensed User Longtime User Nov 11, 2013 #3 Erel said: Open the Java file with Notepad++. It shows the line numbers. Click to expand... Do you mean the sequential line number within the file? What about the // lines? I have ultraedit which displays line nums. Upvote 0
Erel said: Open the Java file with Notepad++. It shows the line numbers. Click to expand... Do you mean the sequential line number within the file? What about the // lines? I have ultraedit which displays line nums.
Erel B4X founder Staff member Licensed User Longtime User Nov 12, 2013 #4 1234 (java line) is the sequential line number, not the B4A line. Upvote 0
boten Active Member Licensed User Longtime User Nov 12, 2013 #5 Erel said: 1234 (java line) is the sequential line number, not the B4A line. Click to expand... Sorry, I didn't explain myself. I mean: The 1234th line out of total lines (including //) , or is it the 1234th line that is NOT //? Upvote 0
Erel said: 1234 (java line) is the sequential line number, not the B4A line. Click to expand... Sorry, I didn't explain myself. I mean: The 1234th line out of total lines (including //) , or is it the 1234th line that is NOT //?
thedesolatesoul Expert Licensed User Longtime User Nov 12, 2013 #6 Just open main.java Go to line 1234. That is where the error occurs. (the comments are part of the file and part of the line number calculation) Upvote 0
Just open main.java Go to line 1234. That is where the error occurs. (the comments are part of the file and part of the line number calculation)