global methods not working in new build.

Home Forums Development global methods not working in new build.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29779
    cyber.cbm
    Participant
      • Topics: 2
      • Replies: 4
      • Total: 6

      Hi,

      I think in old and new both panels global methods are not working. I think old is fine, but new panels’s console also does not show anything for the methods like “how()” or “what(ABC)”

      #29786
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        Yes this is because the “debug” global variable is now the debugging interface in Lua, and not the special method it used to be.

        You can replace any occurance of debug() in what and how and table_dump and/or any other method with a _DBG() or print_debug() methods (both do the same thing) and you will be good to go.

        I’ll try to update the what and how methods automaticaly in the next build.

        #29796
        cyber.cbm
        Participant
          • Topics: 2
          • Replies: 4
          • Total: 6

          It is _DBG() only in all global methods , but still it shows nothing. I cross checked before posting it. So just thought to remind you if something is missed out.

          I also tried with print_debug(str) but that gives empty results.

          #29799
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            you are right i directed the output to a wrong place, i fixed it now and will post builds later today

            #29813
            cyber.cbm
            Participant
              • Topics: 2
              • Replies: 4
              • Total: 6

              Nice… So it will be fixed and working fine.. Thanks…

              CyberCBM

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The forum ‘Development’ is closed to new topics and replies.
            There is currently 0 users and 50 guests online
            No users are currently active
            Forum Statistics
            Threads: 2,495, Posts: 17,374, Members: 77,605
            Most users ever online was 12 on January 22, 2019 3:47 pm
            Ctrlr