[SmartcardServices-Dev] How to use secdebug()

Garth Cummings gcummings at apple.com
Tue Jan 5 10:25:12 PST 2010


Hi Ludovic,

On Jan 5, 2010, at 7:00 AM, smartcardservices-dev-request at lists.macosforge.org wrote:

> Hello,
> 
> I am trying to debug Apple version of pcsc-lite. The code contains calls like:
> 		secdebug("pcscd", "RFCheckSharing: sharing violation, dwLockId:
> 0x%02X", rContext->dwLockId);
> 
> I would like to know _where_ the debug messages are sent?
> And how to activate them (if needed)?

<snip>

> 
> It looks like it is related to DTrace. And I am a very beginner at DTrace.
> So any help is welcome.
> 
> Thanks
> 
> -- 
> Dr. Ludovic Rousseau

I have some instructions and a couple of D scripts for setting this up. Send a request to <dts at apple.com> and I'll get them to you without billing for a DTS incident.

Best regards,
--gc
____________________________________________________________________
Garth Cummings					 gcummings at apple.com
Sr. Software Engineer
Apple Developer Technical Support

<http://developer.apple.com/technicalsupport>




More information about the SmartcardServices-Dev mailing list