I have run into a peculiar situation:
I have an AppGameKit app call Cab.agk
its main.agc includes the line:
and indeed code in the Cab.agc file get called and executed as one would expect.
Now, I add a breakpoint to a line of code, I get the red spot in the margin and I start the debug session.
The code line that the breakpoint is on gets
executed but the debugger does not stop there.
If I then add a
second breakpoint in the same file the debug window gives the message:
That file is not part of the project being debugged
Well, it is the only file I have called Cab.agc and it indicates that for some reason the file is being excluded from the debugger. (That would explain why my initial breakpoint never gets hit.)
I have managed to
step into included files before but the place I need to get to is a few files deep from a call from my main loop so stepping to there from the main loop would involve thousands of calls.
What do I need to do to get the debugger to honor these breakpoints? (Apart from maybe moving the code into main temporarily)
I am running version IDE 2021.10.19 on Windows 10