[Cs-dev] Csound Debugger
Date | 2013-12-15 04:12 |
From | Andres Cabrera |
Subject | [Cs-dev] Csound Debugger |
Attachments | None None |
Hi, I've been working on implementing a debugger with introspection for Csound. I now have a working proof of concept which you will find the csdebugger branch.The current implementation allows setting breakpoints for instruments (including fractional part), so that whenever that instance is reached in the kperf function, csound halts all rendering, but without stopping audio or MIDI I/O (or any other additional threads), and without incrementig any of the time counters. The current INSDS * instance can be queried using the debugger API which can be found in csdebug.h. You can see some usage examples in the tests/c/csound_debugger_tests.c file. This is still a work in progress, but if you are interested, please let me know what you think, and any suggestions or comments. To build the debugger add -DBUILD_DEBUGGER=1 to your cmake call. I have also implemented a very basic debugging GUI in CsoundQt, which can display the variables for the instrument and can start, stop, pause and add/remove breakpoints in the debugger. Cheers, Andrés |
Date | 2013-12-15 10:52 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Csound Debugger |
Nice! Thanks for this. On 15 Dec 2013, at 04:12, Andres Cabrera |
Date | 2013-12-16 17:54 |
From | Rory Walsh |
Subject | Re: [Cs-dev] Csound Debugger |
Attachments | None None |
This sounds great. I'll not have a chance to check it out before the holidays but I plan to take a look over it once the holiday mayhem is over! sent from a mobile device... On 15 Dec 2013 04:12, "Andres Cabrera" <mantaraya36@gmail.com> wrote:
|
Date | 2013-12-17 07:48 |
From | Oeyvind Brandtsegg |
Subject | Re: [Cs-dev] Csound Debugger |
Very nice initiative. This will be super useful. Oeyvind 2013/12/16 Rory Walsh |
Date | 2013-12-18 16:36 |
From | andy fillebrown |
Subject | Re: [Cs-dev] Csound Debugger |
Attachments | None None |
Wow, this is awesome news! This has been on my wish-list since I started using Csound. Definitely going to check it out when I get a chance. Thank you! On Tue, Dec 17, 2013 at 2:48 AM, Oeyvind Brandtsegg <oyvind.brandtsegg@ntnu.no> wrote: Very nice initiative. This will be super useful. |