Adventure Game Studio

AGS Development => Engine Development => Topic started by: Joacim Andersson on Tue 19/11/2024 09:35:08

Title: [RESOLVED] Request: For future versions; watch window
Post by: Joacim Andersson on Tue 19/11/2024 09:35:08
I'm not sure if this belongs here or in the Editor Development forum, but since I'm requesting a feature of the debugger (even though the actual window would be in the Editor), I'm posting it here. Would it be possible, in some near future version of AGS, to get a watch window? When I set a breakpoint in a function and I hit it I would love to be able to see the values of all the local variables within that function. Today, I have to add extra debugging code like:
System.Log(eLogInfo, "myVariable = %d", myVariable);I don't like to add too much debug code within my project.
Title: Re: Request: For future versions; watch window
Post by: Snarky on Tue 19/11/2024 09:58:51
This is already in the latest AGS 4 version:

Quote from: Crimson Wizard on Thu 01/06/2023 14:00:59Watch Variables panel

This panel lets you see values of the script variables while you run the game from the Editor.
An example of how it looks like is on this screenshot:
https://i.imgur.com/D1L69LH.png (https://i.imgur.com/D1L69LH.png)
Title: Re: Request: For future versions; watch window
Post by: Crimson Wizard on Tue 19/11/2024 10:45:26
Right, there's a forum post dedicated to the wip AGS 4 version here:
https://www.adventuregamestudio.co.uk/forums/ags-engine-editor-releases/ags-4-0-early-alpha-for-public-test/

It contains download links, as well as a list of new additions and explanation of some of them.


About the watch panel in particular,

The original request thread was here:
https://www.adventuregamestudio.co.uk/forums/editor-development/feature-request-inspect-variable-while-debugging/

I suggest using that thread for any further discussion of this functionality.

Title: Re: Request: For future versions; watch window
Post by: Snarky on Tue 19/11/2024 10:51:28
Just wanted to point out for anyone not aware that quotes from other posts by default have a link to the post they come from.
Title: Re: Request: For future versions; watch window
Post by: Joacim Andersson on Tue 19/11/2024 12:56:43
Thank you both for the news and links. I don't want to use an alpha version of 4.0 but at least I know it's on its way, and that's great.