B4J Question Beta #7 : Is debugger broken?

Discussion in 'B4J Questions' started by jmon, May 30, 2015.

  1. jmon

    jmon Well-Known Member Licensed User


    I can't do something in the Beta #7.

    Before, in B4j 2.80, I could change code inside a sub at runtime and it would be updated in real time. I can't seem to make this work anymore with the Beta #7.

    You can try the example in debug mode. Try to change anything in the btn_action sub, like modifying the string in the log, or un-commenting the for loop. You will see that it is not updated at runtime.

    Thank you.

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    It works fine here.

    1. Are you sure that you are running in debug mode?
    2. Are you pressing Ctrl + S after doing the changes? What happens afterward? The status bar should show:
  3. jmon

    jmon Well-Known Member Licensed User

    Yes I am in debug mode
    and I pressed CTRL+S to save, I see "Compiling program" then "Hot Code swap completed successfully"

    but no it doesn't take into account the changes
  4. jmon

    jmon Well-Known Member Licensed User

    Oh, I just tried with Beta #8 and now it works! :)