Android Question How change a value when App Run (Debug Mode)?

Discussion in 'Android Questions' started by erosmax, Jul 1, 2015.

  1. erosmax

    erosmax Well-Known Member Licensed User

    Hi,
    I need to change the value of a variable during its execution. If I put a break point and try to change the value in row WATCH, it makes me see the change but I write FALSE and the variable always remains with the old value.
    In VB6 this was possible. :(
    How can you do in B4A?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can change the code and press Ctrl + S to update it (hot code swapping). You cannot change variables values from the watch list.
     
    Peter Simpson likes this.
  3. erosmax

    erosmax Well-Known Member Licensed User

    This is really a shame.:(
     
  4. DonManfred

    DonManfred Expert Licensed User

    Then write your own B4A and make it better...
     
  5. LucaMs

    LucaMs Expert Licensed User


    Can someone ask a question (and post a comment) without being attacked, in this site?
     
  6. DonManfred

    DonManfred Expert Licensed User

    Yes. He did. AND he got an answer, Luca!

    I answered after he posted "it is a shame". I dont think it is a shame... B4A is really good software. If he dont like it he is free to write a better one. That´s all i said...

    I did not attack him.

    You know; when i attack i dont hold roses in front of my mouth just because YOU dont like my postings. I dont care about your meaning about me.
     
  7. LucaMs

    LucaMs Expert Licensed User

    Probably you have mistranslated his sentence!

    He did not mean that it's a shame, in a derogatory sense, but that he sorry that there is not this possibility.

    You could avoid making the Erel's watchdog: I do not think he needs it!
     
    hibrid0 likes this.
  8. LucaMs

    LucaMs Expert Licensed User

    English: Shame
    Deutsch: Shande

    ist wirklich eine Schande, dass es nicht existiert!
     
  9. erosmax

    erosmax Well-Known Member Licensed User

    No DonManfred, you have misunderstend. LacaMS have understand me. (I use google translator and then try to correct).
    I thought with the sentence derogatory are:"It's Shame" and not this.
     
  10. picenainformatica

    picenainformatica Active Member Licensed User

    Do you know any programming tool that allows what you ask?
     
  11. erosmax

    erosmax Well-Known Member Licensed User

    Yes! VB6.
     
  12. LucaMs

    LucaMs Expert Licensed User

    I knew it but I also forgot it, hehehe.
    MS VB for sure, but I don't remember which version.
     
  13. picenainformatica

    picenainformatica Active Member Licensed User

    I can't use it for Android.
     
  14. LucaMs

    LucaMs Expert Licensed User

    Because there isn't, don't worry :)
     
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