Debug Break Point

  • #1, by redsparkMonday, 15. April 2019, 14:00 6 years ago
    Hi,

    Every once in a while, I have to restart VS5.0.9 because the debugger wont recognize a new break point or a change in a variable isn't displayed properly.  For instance, I may change the name of a field reference in a table.  Although the value shows up with the next debug run, that field is shown with the old name even though there is no code reference to it and the new name is not displayed at all.  It's like it is cached.  But because it occupies the same table position within the table, the value appears properly.

    This is in the Windows editor.  I haven't tried the OSX one yet.  Thanks.

    Forum Fan

    122 Posts


  • #2, by afrlmeMonday, 15. April 2019, 18:01 6 years ago
    If there's a temp/tmp folder in your projects root folder, try deleting that. I think that's usually the cause of weird cache issues.

    Imperator

    7285 Posts

  • #3, by SimonSMonday, 15. April 2019, 21:37 6 years ago
    lua works differently to most languages, it often creates a new variable on changing it. Also the debugger isn't the end of the flag pole.

    Thread Captain

    1590 Posts