How to use debug ? thanks
vectorstudio
Member Posts: 50
I have put "log debugging statement" in the actor.
but when it is running, no debug is displayed
how to debug? thanks
Comments
You have to open the Debugger window. It's in one of the menus.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
yes, i have openned debug windows. but nothing displayed in the windows
What expression did you put in the Log Debugging Statement? Can you get it to work with the default expression as a standalone behavior (not in a rule)? Have you tried it with other actors in the scene? I'm trying to determine if that behavior is not working at all for you or if it's related to the expression and/or rule you're using.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
i used the defualt expression to do the test, so i think the behavior is not working.
the "log debugging statement" is not in the rule,is the first behavior of the actor.
and this actor's other behavior can work.
how can i put a picture or a video in this forum? i want to show you how i did it ^_^
Upload the image to a file-sharing site and the post the link here.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
d.pcs.baidu.com/thumbnail/877e7b9e9f403eab7a1fc3184d684d97?fid=3542825546-250528-527785158242442&time=1423148400&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-zWIBD0frjEwtbgpHOYuaJP3AFKc%3D&rt=sh&expires=2h&r=606363466&sharesign=unknown&size=c710_u500&quality=100
d.pcs.baidu.com/thumbnail/8ffb4c80bdd2b3a7b2f2c4b97063e2a9?fid=3542825546-250528-431361603315668&time=1423148400&sign=FDTAER-DCb740ccc5511e5e8fedcff06b081203-R7ETXQlYU%2FJ7200iMh9t%2Fz8y%2Fuo%3D&rt=sh&expires=2h&r=563572914&sharesign=unknown&size=c710_u500&quality=100
Yep, that looks right. So I'm not sure what to recommend. You might see if these suggestions help: http://forums.gamesalad.com/discussion/59247/windows-creator-first-stop-if-you-experience-unexpected-behaviours/p1.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks, it helps a lot.
I tried to change the language settings of windows.But the debug still can't be displayed.
Now I think i can add a actor to dis play the result to see what i want to see.
Thank you again.
I personally don't use debug but I use 'show text' to see events, expressions, values as it shows it real time. . Also as it helped me a lot on debugging. .
Current Projects I am working on: Stupid Duck, Zango's Shark Adventure, AoD: Age of Dragons, Rocket Jump: The Pixel Invaders
Facebook: https://facebook.com/reflectivebytegamestudios
Web: reflectivebyte.com