Hey,
I believe there is a bug when calling `FindNextLineWithCode`. I'm using the debugger add-on to debug some scripts, which is calling `FindNextLineWithCode` in `debugger.cpp:262`. I'm running Angelscript 2.34.0 on Windows 10 64 bit, and using Visual Studio 2019.
A sample failing test case is:
class Test
{
private int a = 0;
Test()
{
a = 100;
test();
}
void test()
{
a = 200;
test2();
}
bool temp = false;
void test2()
{
a = 300;
}
}
If you put a breakpoint on line 14, the debugger will end up stopping at line 19. If you comment out line 19, it works as expected.
Please let me know if you need any further information.
Cheers
Jarrett