HISE Logo Forum
    • Categories
    • Register
    • Login

    Turn off "Skipping changed()" message

    Scheduled Pinned Locked Moved General Questions
    9 Posts 3 Posters 520 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Oli UllmannO
      Oli Ullmann
      last edited by

      Is there a way to turn off the "Skipping changed() callback during onInit for..." message in the console when recompiling or pressing F5?

      In principle, this is of course a very helpful hint. In my current project, however, this is unavoidable and is displayed countless times when I press F5.

      1 Reply Last reply Reply Quote 1
      • d.healeyD
        d.healey
        last edited by

        I'd like to turn it off too, but then I questions myself and think maybe it's telling me I should rework my code a little.

        Basically I have a function that does a bunch of stuff, including calling .changed() at one point. I call this function both in on init and in several other places. The .changed doesn't do any harm when called from on init and does something useful when called from elsewhere, so I'm reluctant to refactor the code just to get rid of the warning.

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        Oli UllmannO 2 Replies Last reply Reply Quote 1
        • Oli UllmannO
          Oli Ullmann @d.healey
          last edited by

          @d-healey
          It's similar for me too. I have sliders and the changed() function is used in the control callback. These sliders are set to "Save in preset". Therefore, the changed() function is sent every time I press F5.

          This does not make anything worse, but the "Skipping changed" message is a bit annoying when working.

          A simple compiler flag would be helpful to set when compiling HISE. Or an option in the preferences menu.

          DanHD 1 Reply Last reply Reply Quote 0
          • DanHD
            DanH @Oli Ullmann
            last edited by

            @Oli-Ullmann Get so many of these 😆

            Should I be worried?! What might be an unintended consequence of this, for example?

            DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
            https://dhplugins.com/ | https://dcbreaks.com/
            London, UK

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @DanH
              last edited by

              @DanH said in Turn off "Skipping changed()" message:

              Should I be worried?!

              Probably not. It's basically telling you that you have some code that isn't doing anything during on init

              Libre Wave - Freedom respecting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

              Oli UllmannO 1 Reply Last reply Reply Quote 1
              • Oli UllmannO
                Oli Ullmann @d.healey
                last edited by

                @d-healey
                Do you know if there is a "clear console" script command? You could use it after the changed() function. It doesn't solve the actual problem, but at least it deletes the hint.

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @Oli Ullmann
                  last edited by

                  @Oli-Ullmann Console.clear();

                  c6d87786-175c-4967-9d60-5f7f3616885c-image.png

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  Oli UllmannO 1 Reply Last reply Reply Quote 1
                  • Oli UllmannO
                    Oli Ullmann @d.healey
                    last edited by

                    @d-healey said in Turn off "Skipping changed()" message:

                    @DanH said in Turn off "Skipping changed()" message:

                    Should I be worried?!

                    Probably not. It's basically telling you that you have some code that isn't doing anything during on init

                    I would assume the same. The hint tells you that nothing is happening...

                    1 Reply Last reply Reply Quote 0
                    • Oli UllmannO
                      Oli Ullmann @d.healey
                      last edited by

                      @d-healey said in Turn off "Skipping changed()" message:

                      @Oli-Ullmann Console.clear();

                      c6d87786-175c-4967-9d60-5f7f3616885c-image.png

                      Ah great, thanks to you! I'll use that as a workaround then. :-)

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      7

                      Online

                      1.7k

                      Users

                      11.8k

                      Topics

                      102.8k

                      Posts