}
//file 2 te1.c
extern test1()
{
... ...
}
请问:我在main里面调用另外文件里面定义的函数test1()时 为什么不能单步跟进啊?也就是说我不知道现在运行到 test1()里面哪一步了
但是 如果不要include 而是直接将te1.c加到main.c所在project中 那么就可以跟进
请问这是怎么一回事啊
#include "test.h"
void main( void )
{
int i = 10 ;
i = add( i ) ;
i += 3 ;
i = add( i ) ;
}
///:end main.c
// test.h
int add( int ) ;
/// end test.h
// test.c
#include "test.h"
int add( int i )
{
return i + 3 ;
}
///: end test.c