Debugger timeout error

claudio

Member
Licensed User
Longtime User
I have a problem with debugger.
When I set a breakpoint the device stops only for few seconds on it and then
show the following error.

I tried various configurations with some emulators an a real device. There is a parameter on the device to say it to wait, i didn't found anything.

Claudio
 

Attachments

  • debug.png
    debug.png
    69.9 KB · Views: 232

claudio

Member
Licensed User
Longtime User
Can you post the full error message from the logs?

Yes:

B4X:
LogCat connected to: 9003260f4018
--------- beginning of /dev/log/main


--------- beginning of /dev/log/system


** Activity (main) Create, isFirst = true **

** Activity (main) Resume **

main_mnu1_click (B4A line: 86)


s = DDF.RepoLav.SQLTables



java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   at anywheresoftware.b4a.debug.Debug.reachBP(Debug.java:244)
   at anywheresoftware.b4a.debug.Debug.ErrorCaught(Debug.java:145)
   at cs.repolav.main._mnu1_click(main.java:458)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at anywheresoftware.b4a.BA.raiseEvent2(BA.java:170)
   at anywheresoftware.b4a.BA.raiseEvent(BA.java:154)
   at cs.repolav.main$B4AMenuItemsClickListener.onMenuItemClick(main.java:117)
   at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:137)
   at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)
   at com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:532)
   at com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)
   at android.view.View$PerformClick.run(View.java:8890)
   at android.os.Handler.handleCallback(Handler.java:587)
   at android.os.Handler.dispatchMessage(Handler.java:92)


   at android.os.Looper.loop(Looper.java:123)
   at android.app.ActivityThread.main(ActivityThread.java:4632)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
   at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.reflect.InvocationTargetException
   at cs.repolav.main.GetGlobals(main.java:755)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:521)
   at anywheresoftware.b4a.debug.Debug.reachBP(Debug.java:242)
   ... 21 more
Caused by: java.lang.StackOverflowError
   at java.lang.reflect.Field.<init>(Field.java:85)
   at java.lang.reflect.ReflectionAccessImpl.clone(ReflectionAccessImpl.java:42)
   at java.lang.ClassCache.deepCopy(ClassCache.java:530)
   at java.lang.Class.getDeclaredFields(Class.java:710)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:553)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.StringBuilder.append(StringBuilder.java:203)
   at java.util.AbstractCollection.toString(AbstractCollection.java:384)
   at anywheresoftware.b4a.AbsObjectWrapper.toString(AbsObjectWrapper.java:110)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.StringBuilder.append(StringBuilder.java:203)
   at java.util.AbstractCollection.toString(AbstractCollection.java:384)
   at anywheresoftware.b4a.AbsObjectWrapper.toString(AbsObjectWrapper.java:110)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.StringBuilder.append(StringBuilder.java:203)
   at java.util.AbstractCollection.toString(AbstractCollection.java:384)
   at anywheresoftware.b4a.AbsObjectWrapper.toString(AbsObjectWrapper.java:110)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.String.valueOf(String.java:1904)
   at anywheresoftware.b4a.BA.TypeToString(BA.java:564)
   at anywheresoftware.b4a.B4AClass.toString(B4AClass.java:25)
   at java.lang.StringBuilder.append(StringBuilder.java:203)
   at java.util.AbstractCollection.toString(AbstractCollection.java:384)
   at anywheresoftware.b4a.AbsObjectWrapper.toS
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

This on my Samsung Galaxy SCL, V2.2 and on SDK Emulator V2.2

On builddroid emulator V4.0 under VirtualBox no log is sent.
 
Upvote 0
Top