Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Debugger and include statements

Author
Message
wmsgva
7
Years of Service
User Offline
Joined: 8th Mar 2017
Location:
Posted: 12th Jun 2017 22:56
I have an issue with the debugger.

It works fine if I set a breakpoint in the main code and I can then step through the entire application. However, if I set a breakpoint inside
one of the separate code files (those included into the main code with the #include statement), the debugger doesn't seem to take them into account.

I'm sure I'm missing something obvious, but not sure what. It mus surely be possible to set a breakpoint in one of the many external code files. These
haven't been placed in a sub-directory either (they're in the same directory as the main.agc file - noticed a post about people having an issue when
using sub-directories for their code).

Any help is appreciated.
wmsgva
7
Years of Service
User Offline
Joined: 8th Mar 2017
Location:
Posted: 13th Jun 2017 11:53
Found the solution to my problem. One of the included files I was trying to debug had not been added to the project (was outside of the project in the left-hand side project pane).

Added it back to the project and all works fine now.

Login to post a reply

Server time is: 2024-11-22 07:17:02
Your offset time is: 2024-11-22 07:17:02