Other [new feature] Go to the code line directly from the logs

Discussion in 'Android Questions' started by Erel, Dec 5, 2018.

  1. Cebuvi

    Cebuvi Active Member Licensed User

    I find it a very useful and interesting functionality and I see its operation in the examples that I download from the forum.

    However, with the code that I write, it does not work. Do I have to add some special code or activate some configuration?

    Thanks.
     
  2. DonManfred

    DonManfred Expert Licensed User

    You should start a new thread if you have any issues. Make sure to post all relevant infos.
    Are you using b4a bridge or usb-debugging?

    I´m usually using USB Debugging. But @work i also use B4A Bridge.
    It is working for me in both ways.
     
  3. Cebuvi

    Cebuvi Active Member Licensed User

    I am using Genymotion as android emulator.
     
  4. DonManfred

    DonManfred Expert Licensed User

    Use a real device
     
  5. Cebuvi

    Cebuvi Active Member Licensed User

    Thanks, I'll do the test. But with the examples I use Genymotion and it works.
     
  6. DavideV

    DavideV Active Member Licensed User

    It worked for me only after recompiling an existing app with the new ide. Connecting to an existing app to watch logs (without recompiling) doesn't allow jumps to the logged lines
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    This is true. It only works when you run the app from the IDE.
     
  8. Cebuvi

    Cebuvi Active Member Licensed User

    I run the app from the IDE and use the latest version of B4A but I do not understand anything. In the examples that I download from the forum, the functionality works perfectly, but when I create an app with a new code, I can not get it to work.

    I just created a new app to test just this topic. It has two activities, in Main it works but in the other it does not. :(
     
    Last edited: Jan 18, 2019
  9. AnandGupta

    AnandGupta Active Member Licensed User

    Hi Cebuvi,

    Can you upload your new app project to check ?

    Regards,

    Anand
     
  10. Cebuvi

    Cebuvi Active Member Licensed User

    Hello Anand, this is the project.

    Thanks.

    César
     

    Attached Files:

  11. klaus

    klaus Expert Licensed User

    What exactly is your problem?
    I tried your project, with B4A version 8.80.
    And it works as expected!

    upload_2019-1-18_19-15-11.png

    But!
    You need to click onto arrow to jump to the line upload_2019-1-18_19-16-15.png .
     
  12. Cebuvi

    Cebuvi Active Member Licensed User

    In this case in the first two Logs it works, but in the third one it does not.

    In others it does not work at all.
     

    Attached Files:

  13. Erel

    Erel Administrator Staff Member Licensed User

    I see it as well. Checking it...
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    This is a bug related to the underscore in Act_1 module name. Will be fixed.
     
  15. Cebuvi

    Cebuvi Active Member Licensed User

    Ok.
    Thanks!
     
  16. Tayfur

    Tayfur Well-Known Member Licensed User

    jahswani likes this.
Loading...
  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