• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
DVDPlayback.framework will not initialize under debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DVDPlayback.framework will not initialize under debugger


  • Subject: DVDPlayback.framework will not initialize under debugger
  • From: Michael Ellis <email@hidden>
  • Date: Fri, 30 Jul 2004 18:34:55 -0400

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.


  • Follow-Ups:
    • Re: DVDPlayback.framework will not initialize under debugger
      • From: Dave Camp <email@hidden>
  • Prev by Date: Re: Cocoa/Obj-C Restart Computer
  • Next by Date: Re: Cocoa/Obj-C Restart Computer
  • Previous by thread: Re: Document object talking to main application object
  • Next by thread: Re: DVDPlayback.framework will not initialize under debugger
  • Index(es):
    • Date
    • Thread