Android Question Debug legacy problem

Discussion in 'Android Questions' started by chardenal, Jun 15, 2015.

  1. chardenal

    chardenal Member Licensed User


    With the New version B4A v5.02. when I connect with Debug(Legacy) , I can not watch the global and local variable, just play, stop, pause and log!
    I test with à breakpoint, the programme stop on the breakpoint (I can verify on my smartphone or tablett) but I don t watch global and local variable!

    With rapid debugger, it is very slowly and I can watch global and local variable but there are sometimes value false or null. ...

    I have no problem with the program tutorial (bluetooth, tableview and other), all debug mode is perfect with program tutorial.

    My program run correctly in release mode, and with the B4A 4.3 in all mode .
    Have you an idea for the debug legacy and rapid problem ?

    Thank you for you help

  2. Erel

    Erel Administrator Staff Member Licensed User

    Lets start with the rapid debugger. Click on Tools - Clean project and run the project. Is it still slow?
  3. chardenal

    chardenal Member Licensed User

    it is a bit faster but still very slow, but if I put a breakpoint , the displayed variables are erroneous with rapid debugger.

    My activity can be too global or local variable ? My activity show various graphical displays.
  4. chardenal

    chardenal Member Licensed User

    After several tests , it seems that legacy debugger display any value if the activity contains many globals variable. This appears to be a saturation.
    is it possible?
  5. Erel

    Erel Administrator Staff Member Licensed User

    It is possible. Especially if there are circular references.

    The rapid debugger should handle such cases better. If you like you can send me your project and I'll try to see why it is slow.
  6. chardenal

    chardenal Member Licensed User

    thank you Erel, I send you my project the next week if I can.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice