Register
RemedyBG»Forums»Remedy(0.2.9.2) won't hit break points after #include
1 posts
Remedy(0.2.9.2) won't hit break points after #include
3 weeks, 3 days ago Edited by Jack on March 8, 2020, 2:03 p.m. Reason: Added version
Simplest example:

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.
161 posts / 1 project

None

Remedy(0.2.9.2) won't hit break points after #include
3 weeks, 3 days ago
Thanks for the repro case jack. I will make sure this is addressed in the upcoming release.