I defined a function func(int x, int y) in a header file(.h).
In the main function (.c file) , the breakpoints work well. I set one where the function "func" is called and the program stopped there, then I stepped into and it does go into "func". However, I can only hit "next line". if I use "continue" or "run to cursor", the program will go through "func" and back to main function. So I will never inspect the variables in the function "func" in the header file.
Can someone tell me what's going on?
Thanks