【发布时间】:2020-06-27 06:26:53
【问题描述】:
我想调试 libxml2 的源代码,为此,我想在某些函数中打印一些语句。 但是,如下所示的打印语句不会在控制台中产生任何结果
我已将它们放在文件 xmlschemas.c 和函数 xmlSchemaParse 中
xmlSchemaPtr
xmlSchemaParse(xmlSchemaParserCtxtPtr ctxt)
{
xmlSchemaPtr mainSchema = NULL;
xmlSchemaBucketPtr bucket = NULL;
int res;
#ifdef fprintf
#undef fprintf
#endif
#ifdef printf
#undef printf
#endif
printf("HELLO WORLD\n");
fprintf(stderr, "HERE");
fflush(stderr);
...
任何与此有关的指针表示赞赏
【问题讨论】: