Main.cpp
1 2 3 4 5 6 7 | int foo = 0; void main() { ++Foo; #include "test_include.h" ++Foo; } |
test_include.h
1 | ++Foo; |
In Remedy, I can break on line 4 of Main.cpp, but not on line 6. After the scope ends, I can break again; so if the #include is in a function I can't break for the rest of the function, but after the function returns breaking works as expected.