Problems with Debugger in Vers. 1.9

prokli

Active Member
Licensed User
Longtime User
Hello everybody!

I recently upgraded B4A from Ver. 1.8 to 1.9.
Under version 1.9 compilation and even debugging works fine.
But when I run compilation (Key "F5") I get this error message:

Compiling code. 0.08
Compiling layouts code. 0.00
Generating R file. 0.00
Compiling generated Java code. Error
B4A line: 64
End Sub
javac 1.6.0_21
src\limbsoft\b4a\icycube\main.java:350: StartDebugging(anywheresoftware.b4a.BA,int,int[]) in anywheresoftware.b4a.debug.Debug cannot be applied to (anywheresoftware.b4a.BA,int,int[],java.lang.String)
Debug.StartDebugging(mostCurrent.activityBA, 9646, new int[] {3, 17, 6}, "86fd600b-554a-4727-86c6-7481edaf342b");}
^
1 error


Line 64 just keeps this tiny code:

Sub Activity_Resume

End Sub


But when I press key sequence "ALT + 2" or if I set mode from "Debug" to "Release" I get this:

Compiling code. 0.08
Compiling layouts code. 0.00
Generating R file. 0.00
Compiling generated Java code. 1.06
Convert byte code - optimized dex. 0.94
Packaging files. 0.36
Generated file: C:\Projekte\Android Programs\icyCube\Objects\bin\temp.ap_
Completed successfully.

So I suppose, that there is no code error but something must go wrong in debugger

Cheers
Harald
 

prokli

Active Member
Licensed User
Longtime User
Debug.jar in additional lib

Erel,

yes I have a copy (don't know why?) in Additional lib.
Furthermore I haven't removed version 1.8 from my PC prior of installing version 1.9.

Should I remove 1.8 complete from disk?

Regards,
Harald
 

Rusty

Well-Known Member
Licensed User
Longtime User
Problems with debugger

Erel,
I upgraded to 1.9 and a previously working program is now not debuggable. It does compile without the debugger.
I've scanned my computer for the debugger.jar and even looked for an additional libraries folder and can't find either on my computer.
can you advise?
Thanks


Compiling code. 0.33
Compiling layouts code. 0.00
Generating R file. 0.00
Compiling generated Java code. Error
B4A line: 782
End Sub
javac 1.6.0_16
src\talkingsurvey\b4a\survey\main.java:6591: StartDebugging(anywheresoftware.b4a.BA,int,int[]) in anywheresoftware.b4a.debug.Debug cannot be applied to (anywheresoftware.b4a.BA,int,int[],java.lang.String)
Debug.StartDebugging(mostCurrent.activityBA, 46420, new int[] {120, 3, 17, 7, 5, 1, 3, 2, 5, 4, 9, 9, 2, 6, 2, 3}, "d0977155-515b-4ce5-91dd-86710069746d");}
^



Sorry to have bothered you.
the "Additional Libraries" on my machine is C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries
not addtional libraries and the debug.jar was there. I have a D: drive installation that I use and it had the correct debug.jar, but for some reason the b4a environment loads the c: drive version even though I installed the 1.9 version on the D: drive.
(My c: drive is an SSD and I am conserving space so I installed b4a on the D:. Apparently, I had my libraries path configured to the C: drive instead of the D: drive...my fault, thanks anyway)
 
Last edited:
Top