Script debugger (also GDN forum)

Your forum for all discussions around Modding.
User avatar
blue_painted
Posts: 1688
Joined: Wed Jan 31, 2018 3:50 pm
Location: UK

Script debugger (also GDN forum)

Post by blue_painted »

I've downloaded the script debugger 8.01 from GDN and tried to follow the help page. I can get the debugger saying it is connected but I'm not getting any data -- I'd expect to see globals at least. I can't see any traffic on loopback or main ethernet, using Wireshark - what do I need to do?

On the GDN forums -- how does one post?

Thanks in advance.
Playing new "Beest" Intel i7-11700F with GeForce GTX 3060 and XBOX controller
also £600 laptop - AMD Ryzen 5600H with GeForce GTX 3050 XBOX controller

Dairydeere's A Guide to Finding Farming Simulator Mods - Please give this a read and help spread awareness for respectful mod downloads
Stegei
GIANTS Software | CTO
Posts: 1788
Joined: Sat Jun 09, 2007 10:51 am

Re: Script debugger (also GDN forum)

Post by Stegei »

You need to get the game to pause (break) running and show the debugging information. The easiest option is to press the break button (Two vertical bars) or click Debug->Break All or press F7.
Alternatives are setting breakpoints at the right place or data breakpoints.
Once you are in debugging mode you can step through your code with F10,F11, etc (Debug->Step Over, Step In, Step Out, etc).
Post Reply