HISE Logo Forum
    • Categories
    • Register
    • Login

    Adding Console on Compiled Plugin For Debugging

    Scheduled Pinned Locked Moved Bug Reports
    16 Posts 6 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.
    • SimonS
      Simon @Christoph Hart
      last edited by Simon

      @Christoph-Hart I'm considering leaving this in a finished plugin, and toggling it with a debug switch in the UI settings, so I can instruct users to send me debug logs if need be. Your warning is only about extra memory usage but the all caps CAUTION is a little scary, do you anticipate anything catastrophic happening if I do?

      d.healeyD LindonL 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @Simon
        last edited by

        @Simon There is a built in debug mode that writes to a log file, would that do?

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

        SimonS 1 Reply Last reply Reply Quote 0
        • SimonS
          Simon @d.healey
          last edited by

          @d-healey ........ I had no idea, you learn something new every day!

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

            @Simon https://docs.hise.dev/scripting/scripting-api/settings/index.html#setenabledebugmode

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

            SimonS 1 Reply Last reply Reply Quote 0
            • SimonS
              Simon @d.healey
              last edited by

              Yes I found it, but I have yet to figure out what it does or how it works.

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

                @Simon https://docs.hise.dev/working-with-hise/settings/development.html#enable-debug-mode

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

                SimonS 1 Reply Last reply Reply Quote 0
                • SimonS
                  Simon @d.healey
                  last edited by

                  Poked around in the source code, haven't figured out where the log is created, nor whether or how I can print messages to it. As the fileLogger is already set up I'll stick with that.

                  1 Reply Last reply Reply Quote 1
                  • LindonL
                    Lindon @Simon
                    last edited by

                    @Simon isnt this what the new profiler is for?

                    HISE Development for hire.
                    www.channelrobot.com

                    SimonS 1 Reply Last reply Reply Quote 0
                    • SimonS
                      Simon @Lindon
                      last edited by

                      @Lindon Does the profiler print custom messages to an external file that I can optionally ask the user to enable and send to me if they have a strange behavior in a particular DAW?

                      HISEnbergH 1 Reply Last reply Reply Quote 0
                      • HISEnbergH
                        HISEnberg @Simon
                        last edited by

                        @Simon It will do precisely this. There needs to be a few fixes before its ready for release builds however.

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

                        13

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.6k

                        Posts