How to debug a MIDI Driver under 10.6.x?
How to debug a MIDI Driver under 10.6.x?
- Subject: How to debug a MIDI Driver under 10.6.x?
- From: alex <email@hidden>
- Date: Wed, 16 Mar 2011 17:14:45 -0700
Hello,
I've been having a swell time working on my MIDI Drivers in the past and it has been a breeze to just fire up the CoreMIDI Server (MIDIServer) by going to the command line and just running an instance of it. (i.e. launching /System/Library/Frameworks/CoreMIDI.framework/MIDIServer from the command line or /System/Library/Frameworks/CoreMIDIServer.framework/MIDIServer on pre 10.6 systems).
This is extremely useful because debug output comes right out to the terminal and I can control the startup/shutdown and target the process properly with the XCode debugger (I can set the executable to the MIDIServer path and it just "works").
Nowadays things are different, it seems that MIDIServer is maintained differently (launchd?) and every time I try to run it directly I seem to hijack it and nothing works correctly! Nor can I debug my driver with XCode. There used to be some very nice debug instructions for MIDI Drivers and CoreMIDI in general but these have vanished. They used to live on-disk in the Developer folder but are gone now and never made it to ADC online. I suppose I should file a bug for that. but....
My question is this: how to debug a MIDI Driver in this modern age? Thanks for your help! alex
_______________________________________________________
Unlimited Disk, Data Transfer, PHP/MySQL Domain Hosting
http://www.doteasy.com
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden