HISE Logo Forum
    • Categories
    • Register
    • Login

    How to debug?

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 256 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.
    • ustkU
      ustk
      last edited by ustk

      After hours trying to debug my project, it is still crashing here and then (between 20sec and 1-2min) both Hise and the export in standalone.
      The fact is that I can't use the print function since Hise crashes instantly
      So the ideal thing would be at least to set some markers in every function and log them... But how do I do that?

      I know there are some debugging options to tick and that I will need to compile Hise in debug mode but...
      How do I proceed? (not for compiling, I already know how to do that)
      Could someone explain to me the different steps, please?

      Can't help pressing F5 in the forum...

      1 Reply Last reply Reply Quote 0
      • ustkU
        ustk
        last edited by

        Ok so I found out how to use the debugger log in the plugin
        but as my plugin is automatic (most of the time is spent in the main routine via a timer then a paint routine for the main animation),
        nothing is logged... so the workaround I found is to insert a slider and set its value at every key point of the code, so now I know where it crashes... It works but I'm sure it is very dirty job...
        @Christoph-Hart Is there any way I can set a marker in the code that shows in the log?

        Can't help pressing F5 in the forum...

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

          @ustk you can write to a JSON file

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

          ustkU 1 Reply Last reply Reply Quote 1
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey Trying that right now! thanks!

            Can't help pressing F5 in the forum...

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

            16

            Online

            1.8k

            Users

            12.1k

            Topics

            104.9k

            Posts