don't know what i am doing wrong but being debugging with CodeLite IDE i cannot break on specified marked as breakpoint lines. suppose, i have the following code sample:
main.cpp:
Code: Select all
#include "MyClass.h"
int main(){
//...
MyClass c;
c.invoke();
return 0;
}
Code: Select all
class MyClass{
public:
//...
void invoke(){ printf("hello\n");} <-- *i set breakpoint on this line*
};
keeping in mind this 'odd' behavior described above, i have to set "additional" breakpoint in main.cpp file just *before* c.invoke() line so i'll be breaked in it and after i debug my program step by step pressing F11/F10. this approach works well, but i wonder why i cannot break in specified line located in "MyClass.h" directly? thanks for information.