Android Tutorial Rapid Debugger

ndnull

Member
Licensed User
Longtime User
Thanks for the Rapid debug feature! its been great in most respects, especially when tuning up code drawn objects in different device sizes. It makes me feel more like I'm working in Studio every day, and being able to read the locals is great during development. Rapid debug is an immense time saver.

I have only seen one error, in that I cant set a checkbox to be checked after being initialized without the code locking up.

>> draw a checkbox someplace and set it high

Dim CHKBX As CheckBox
CHKBX.Initialize ("completor")
CHKBX.Checked = True
CHKBX.text ="Click me if I run"


>> watch for the CheckChanged event on Activity draw...


Sub completor_CheckedChange(Checked As Boolean)

dim HappyResult as Boolean
HappyResult = Checked << cant get here, in rapid debug mode...

end sub




Other than that, its been most helpful in speeding the development process.
Keep up the great work!
 

ilan

Expert
Licensed User
Longtime User
the rapiddebugger is really great, would it be in the near future possible to use the rapid debugger via usb??
wifi is not working always if you are to far away from the router
 

ilan

Expert
Licensed User
Longtime User
how can i connect to the B4A Bridge via usb?? i have only connect via WIFI and connect via Bluetooth
i dont see connect via USB to B4A Bridge
 

boten

Active Member
Licensed User
Longtime User
Tried to run a small-medium app with Rapid debugger & Emulator. After 15 minutes emulator still shows "waiting for IDE...."
 

FrenchDeveloper

Member
Licensed User
Longtime User
Great job !
Sometimes, Rapid debugger stops with an IndexOutOfBounds error in activity_create sub (see attached file). With Legacy debug mode, I never have this problem. So, when it happens, I run in legacy mode then again in rapid mode. Then sometimes it works.
I use V3.0
 

Attachments

  • Error.png
    12 KB · Views: 319

nicodh

Member
Licensed User
Longtime User
Hello Erel, is there a max size limitation when using the rapid debuger? I'm having a crash with java saying that the code is too long for try.
This does not happen with the legacy denuger.
My app has a main with around 3000 lines

This is the error:
Parsing code. 0.45
Compiling code. 0.80
Compiling layouts code. 0.06
Generating R file. 1.14
Compiling debugger engine code. Error
B4A line: 2720
End Sub
javac 1.7.0_25
shell\src\nicodh\bgcConfig\main_subs_0.java:3312: error: code too large for try statement
catch (Exception e) {
^
1 error

Thanks
 

miguelconde

Member
Licensed User
Longtime User
Hello Erel, guy's

Today I installed version 3.50.
I first tried the "rapid debuger" and showed me the following error:
--------------------------------
"Parsing code. 0.94
Compiling code. 6.51
Compiling layouts code. 1.86
Generating R file. 7.18
Compiling debugger engine code. Error
B4A line: 2209
End Sub
javac 1.6.0_21
shell\src\sfanet\movil\sync_subs_0.java:6642: code too large for try statement
catch (Exception e) {
^
1 error"
------------------------------------

--> "Code too large for try statment"

In the other compile or debugin modes the error does not occur and generates the apk even perfectly.
The funny thing is that in the routine and line "2209" do not use a statement "try".
I can solve with other types of compilation, however but I could not enjoy "rapid debug".

Thank you
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…