[RESOLVED] Request: For future versions; watch window

Started by Joacim Andersson, Tue 19/11/2024 09:35:08

Previous topic - Next topic

Joacim Andersson

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:
Code: ags
System.Log(eLogInfo, "myVariable = %d", myVariable);
I don't like to add too much debug code within my project.

Snarky

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

Crimson Wizard

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.


Snarky

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.

Joacim Andersson

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.

SMF spam blocked by CleanTalk