Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Nahuel on Sat 10/09/2022 05:54:55

Title: Debug breakpoint not working | windows 10
Post by: Nahuel on Sat 10/09/2022 05:54:55
Hello there, I was trying to debug using breakpoints and it's not stopping there (of course using the function .. with debugger).

Searched and there's nothing similar. Anyone with this problem and found a solution?

Thanks all.

AGS Editor .NET (Build 3.5.1.21)
v3.5.1, September 2022
Title: Re: Debug breakpoint not working | windows 10
Post by: Crimson Wizard on Sat 10/09/2022 10:04:39
Which function and do you place the breakpoint in, and which line of code?
Are you sure that function is run at all?
Title: Re: Debug breakpoint not working | windows 10
Post by: Nahuel on Sat 10/09/2022 11:54:34
Any function for any room, room_Load *_AnyClick any function for Verbs, anything from GlobalScript.asc, I was trying to debug the issue with https://www.adventuregamestudio.co.uk/forums/index.php?topic=60251.0 (https://www.adventuregamestudio.co.uk/forums/index.php?topic=60251.0) and I couldn't hit any breakpoint  :sad:
Title: Re: Debug breakpoint not working | windows 10
Post by: Nahuel on Sat 10/09/2022 11:59:26
I installed the previous stable version and it's working correctly. :undecided:
AGS Editor .NET (Build 3.5.0.32)
v3.5.0, May 2021
Title: Re: Debug breakpoint not working | windows 10
Post by: Crimson Wizard on Sat 10/09/2022 12:15:58
Hmm, i tried 3.5.1.21 and breakpoints work for me.

Does anyone else have similar problems?

I will test on Windows 10. EDIT: works on win10 too.
Title: Re: Debug breakpoint not working | windows 10
Post by: Nahuel on Sat 10/09/2022 12:18:40
After installing the previous version, now is starting to work :confused: It must be something related to my machine...
Title: Re: Debug breakpoint not working | windows 10
Post by: eri0o on Sat 10/09/2022 12:34:19
room_Load, AnyClick, ... These functions require you have linked them using the events (âš¡) tab in the properties panel in the Editor.
Title: Re: Debug breakpoint not working | windows 10
Post by: Crimson Wizard on Sat 10/09/2022 13:05:54
You may also use "Display" command for quick debug, see if they display anything on screen in these places, to make certain that these functions run at all.
Title: Re: Debug breakpoint not working | windows 10 | [Solved]
Post by: Nahuel on Sat 10/09/2022 14:57:23
Will use that, will use Display for quick debug. Will solve the thread. Will get back with updates.

Thanks you very much Crimson Wizard & eri0o