Re: Debug third party API library

2011-09-06 Thread Ethan Lai
Hi Steven, Print to stderr instead of stdout, fprintf(stderr, ...), could solve your question. However, I would suggest to use TSError() or TSDebug() with your own tag instead. :) Thanks, -Ethan 2011/9/6 steven liu > Dear All, > > I am now working on a plugin which calls a third party API li

Debug third party API library

2011-09-06 Thread steven liu
Dear All, I am now working on a plugin which calls a third party API library. I am able to use TSDebug() in plugin to print out debug infomation. But when I use printf in my API, I cannot get the printing information on screen/terminal. I also tried to open a file in my API and save the debug info