HISE Logo Forum
    • Categories
    • Register
    • Login

    Debugging with Reaper

    Scheduled Pinned Locked Moved Bug Reports
    43 Posts 7 Posters 4.5k 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.
    • orangeO
      orange @Dan Korneff
      last edited by orange

      @dustbro said in Debugging with Reaper:

      @Christoph-Hart good to know. I'm using setAttribute about 25 times in this script. Lemme see if I can narrow it down to a particular call.

      Have you found any solution for this? Any suggestions.... etc?
      I am using setAttribute approx. 80 times in the plugin. And 20 times in an inline function.

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

      Dan KorneffD 1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff @orange
        last edited by

        @orange said in Debugging with Reaper:

        Have you found any solution for this?

        Nothing on this end. I definitely have issues with multiple instances. I've been so jammed up I haven't had time for more debugging

        Dan Korneff - Producer / Mixer / Audio Nerd

        orangeO 1 Reply Last reply Reply Quote 1
        • orangeO
          orange @Dan Korneff
          last edited by

          @dustbro yeah me too. That's a very sad thing....

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

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

            The moodycamel strikes again, we got a solution for this yet?

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

            Christoph HartC 1 Reply Last reply Reply Quote 2
            • Dan KorneffD
              Dan Korneff
              last edited by

              tenor.gif

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 3
              • FortuneF
                Fortune
                last edited by Fortune

                This issue is a real pain in the ass........

                1 Reply Last reply Reply Quote 0
                • orangeO
                  orange
                  last edited by orange

                  It might sound crazy but, is it possible to add 1 or 2 seconds loading time delay into middle of the script (for fx plugins)? So while the initialization each instance will load a little bit until the break code in the middle of the script (1 or 2 seconds breathing) then load the rest.

                  I have a theory that quick loading instances crash more :) Maybe it is a bullshit, I don't know but it's worth to try it :D

                  develop Branch / XCode 13.1
                  macOS Monterey / M1 Max

                  orangeO 1 Reply Last reply Reply Quote 0
                  • Christoph HartC
                    Christoph Hart @d.healey
                    last edited by Christoph Hart

                    @d-healey Can you make a example project that demonstrates the issue?

                    @orange There should be no need for a delay in the initialisation, the proper solution is to set a flag during initialisation that prevents the message queue from getting hammered like this.

                    d.healeyD NatanN A 3 Replies Last reply Reply Quote 2
                    • d.healeyD
                      d.healey @Christoph Hart
                      last edited by

                      @Christoph-Hart It was only happening for me in the compiled plugin and I've only test on GNU/Linux. I'll run some more tests and do a Windows build if I can recreate it there.

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

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

                        @Christoph-Hart Issue only seems to be happening for this particular project with a debug build, haven't been able to recreate it with the release version so I guess my problem is solved.

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

                        1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff
                          last edited by

                          I should have some time to whip up an example this week

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          1 Reply Last reply Reply Quote 1
                          • NatanN
                            Natan @Christoph Hart
                            last edited by

                            @Christoph-Hart said in Debugging with Reaper:

                            the proper solution is to set a flag during initialization that prevents the message queue from getting hammered like this.

                            How to do Such A Flag?
                            Any Advice is Much Appreciated?

                            1 Reply Last reply Reply Quote 1
                            • FortuneF
                              Fortune
                              last edited by Fortune

                              fixed multithreading crash
                              
                              

                              is this commit a fix for this issue?

                              1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart
                                last edited by

                                Unlikely.

                                FortuneF 1 Reply Last reply Reply Quote 1
                                • FortuneF
                                  Fortune @Christoph Hart
                                  last edited by

                                  @Christoph-Hart Ok for cpu multithreading then.

                                  1 Reply Last reply Reply Quote 0
                                  • orangeO
                                    orange @orange
                                    last edited by orange

                                    @orange said in Debugging with Reaper:

                                    It might sound crazy but, is it possible to add 1 or 2 seconds loading time delay into middle of the script (for fx plugins)? So while the initialization each instance will load a little bit until the break code in the middle of the script (1 or 2 seconds breathing) then load the rest.

                                    I have a theory that quick loading instances crash more :) Maybe it is a bullshit, I don't know but it's worth to try it :D

                                    Any idea about this wait function? With timer object? How to do it?
                                    It will be executed only on the initialization

                                    develop Branch / XCode 13.1
                                    macOS Monterey / M1 Max

                                    1 Reply Last reply Reply Quote 1
                                    • A
                                      ally @Christoph Hart
                                      last edited by

                                      @Christoph-Hart If you tell me what the flag is and how to set it I will send you $10 tip in PayPal...

                                      1 Reply Last reply Reply Quote 0
                                      • orangeO orange referenced this topic on
                                      • First post
                                        Last post

                                      19

                                      Online

                                      1.8k

                                      Users

                                      12.0k

                                      Topics

                                      104.5k

                                      Posts