HISE Logo Forum
    • Categories
    • Register
    • Login

    Debugging from DAW Crash report

    Scheduled Pinned Locked Moved General Questions
    15 Posts 3 Posters 868 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.
    • d.healeyD
      d.healey @A Former User
      last edited by

      @Steve-Mohican I don't know, try it and see.

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

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @d.healey
        last edited by

        @d-healey Ok thank you, I'll try...

        1 Reply Last reply Reply Quote 0
        • Casey KolbC
          Casey Kolb
          last edited by Casey Kolb

          Cubase crashes with my fx plugin. Is there anyway to debug from DAW crash reports?

          @Steve-Mohican Yes, you can absolutely debug from a DAW crash report, but you need to be using a symbolicated version of your plugin when it crashes. To export a symbolicated plugin, you'll want your autogenerated Projucer file (found in the Binaries folder) to look like the screenshot below and then you must click the XCode button at the top and build from XCode with Product > Build For > Profiling.

          Screen Shot 2021-02-18 at 1.27.53 PM.png

          When the crash report is symbolicated, you can look at the crashed thread and try to gauge what C++ function calls are executed before the plugin crashed.

          Casey Kolb
          Founder & CEO of Lunacy Audio
          Composer | Producer | Software Developer

          1 Reply Last reply Reply Quote 0
          • Casey KolbC
            Casey Kolb
            last edited by

            So if the plugin crashes, where will the log file located?

            @Steve-Mohican Crash logs can be found in the Mac Console app, which should list all the most recent crashes under "User Reports". It might be different depending on the computer, but I can always find mine here:

            Screen Shot 2021-02-18 at 1.32.27 PM.png

            Casey Kolb
            Founder & CEO of Lunacy Audio
            Composer | Producer | Software Developer

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Casey Kolb
              last edited by

              @Lunacy-Audio Thank you so much Casey, that helped a lot!! Wonderful! I am using Windows so I need to add those same flags to VS2017 Release version, right?

              Casey KolbC d.healeyD 2 Replies Last reply Reply Quote 0
              • Casey KolbC
                Casey Kolb @A Former User
                last edited by

                @Steve-Mohican I have yet to try on Windows! But I can imagine it's something similar. Maybe this forum post might provide some leads:

                https://forum.juce.com/t/guide-symbolicating-release-builds/27151

                Casey Kolb
                Founder & CEO of Lunacy Audio
                Composer | Producer | Software Developer

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Casey Kolb
                  last edited by

                  @Lunacy-Audio Thank you!

                  1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @A Former User
                    last edited by

                    @Steve-Mohican It's just the debug build I mentioned earlier.

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

                    Casey KolbC 1 Reply Last reply Reply Quote 0
                    • Casey KolbC
                      Casey Kolb @d.healey
                      last edited by

                      @Steve-Mohican It's just the debug build I mentioned earlier.

                      @d-healey I think it's slightly different, but correct me if I'm wrong. The Debug will be far less optimized than the symbolicated Release build, which may prevent you from testing it in a more realistic context. Sometimes crashes will only happen in Release builds and not the Debug because the Debug is so bloated and slow that the threading issues may not occur as they normally would. Just some food for thought. Probably a good idea to test in both. 😀

                      Casey Kolb
                      Founder & CEO of Lunacy Audio
                      Composer | Producer | Software Developer

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

                        @Lunacy-Audio You're probably correct, the debug build has no optimisation.

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

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

                        10

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        103.2k

                        Posts