Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging a VDig



Thanks. Yes, I've done this already. The entire vdig is just c/cocoa code.
My problem (as far as I can tell) is this:


a) the vdig is a standalone component
b) I'm getting it to appear in the list of available vdig sources by putting it into /Library/QuickTime
c) I don't know how to attach a debugger to a dynamically loaded component. I can't select the .xcode project that builds the component and choose Debug | Attach | WhackedTV. I get 'no launchable executable present at path'. I presume because xcode thinks that I'm trying to debug an app, and can't find a main() entry point - whereas I'm really trying to debug a component that the app loads.


I'm assuming that WhackedTV is loaded this component into the same process space as itself. I just dont understand how to attach to it.

---
Neil Clayton



On 20 Dec 2005, at 16:59, Brad Ford wrote:


On Dec 20, 2005, at 8:18 AM, Neil Clayton wrote:

Is there any (sensible) way to debug a VDig?

I've got it showing up in WhackedTV - but when I click on it, it selects for about 1s and then re-selects whatever I had before. I presume this is because I've stuffed up one of the calls - but there appears to be no logging, no errors, nothing in the syslog - zip.

It's important to note that a vdig component does not need to communicate with a kext. The SoftVDIGX example does this to show driver writers how to interface their kernel code with a vdig component. But the majority of vdig's do nothing in the kernel. All the code lives in userland, which makes the code much more debuggable. I would suggest you rid yourself of the kernel aspect of softvdigx before proceeding.


-Brad Ford
QuickTime Engineering



Any tips anyone?

---
Neil Clayton



_______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/bford% 40apple.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >Debugging a VDig (From: Neil Clayton <email@hidden>)
 >Re: Debugging a VDig (From: Brad Ford <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.