I have an Xcode4 (OSX 10.6.7)app using USB and therefore including C callback functions that are defined outside the @implementation context. That works well, but I cannot see the output I inserted with printf in the callback function to control the behaviour. It is not shown in the debugger console nor in the console of the system. Inside my objective-C functions, where I normally use NSLog, printf works fine and shows up in the debugger console.
I also tried to use fflush after the call as I read in the lists, but with no effect.
I have an Xcode4 (OSX 10.6.7)app using USB and therefore including C callback functions
Share
try using
instead