Re: DVDPlayback.framework will not initialize under debugger
Re: DVDPlayback.framework will not initialize under debugger
- Subject: Re: DVDPlayback.framework will not initialize under debugger
- From: Dave Camp <email@hidden>
- Date: Fri, 30 Jul 2004 15:53:16 -0700
The debugger is disabled to make it harder for people to hack DVD
encryption (even though that's obviously already been done). I think
same thing happens in iTunes to keep people out of the AAC FairPlay
encryption too.
Dave
On Jul 30, 2004, at 3:34 PM, Michael Ellis wrote:
Hi folks.
I'm throwing together an app that would benefit from the DVDPlayback
framework that is included with Panther. The only documentation I've
found is the header file, and that seems to cover pretty much
everything I need, with the exception of this one problem.
Here's what I found:
1) When debugging my application using GDB (via Xcode), calls to the
DVDInitialize method cause the debugger to shutdown with error code
45.
2) When running the exact same application WITHOUT the debugger,
everything seems to work fine.
Since the everything works sans debugger, I've tried changing the
framework's "DVDPlayback_debug" binary into a symbolic link that
refers back to "DVDPlayback". The thought here is that the _debug
version of the library is broken somehow, and when I run without the
debugger I am avoiding the problem by using the non-debug
"DVDPlayback" binary. However, this does not help. Even with the
change, DVDInitialize bombs out when run under the debugger.
So I am left to wonder if this behavior is intentional. Did Apple's
engineers add code to check to see if a debugger is running, and if
so, bomb out of the entire app? If that's the case, why is the
"_debug" version of the framework there? Is there a way I can work
around this?
Any insight is greatly appreciated.
Regards...
-Mike
=========================
Michael F. Ellis
President
Ellis Softworks Inc.
----------
Phone: (941) 713-0361
Email: email@hidden
Web: http://www.ellissoftworks.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.