How can i use the debugger?

ForcingForcing Member Posts: 93
edited November -1 in Working with GS (Mac)
Hello, i have a simple question

How can i use the debugger?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    whenever you want to view something you have a log debugger statment, and then in the top file bar hit view then debugger to see it.
  • freon1200freon1200 Member Posts: 50
    WHAT?!?!? theres a debugger??? how did i never see it??? i gotta start GS and check it out =]
  • freon1200freon1200 Member Posts: 50
    i dont see it =[. is that in pro only?
  • ForcingForcing Member Posts: 93
    i made that, but there isn´t anything to see on the debugger!

    Is it like freon1200 said for pro only?

    @freon1200 it is only at the new version of gamesalad, but i have problems with it too
  • freon1200freon1200 Member Posts: 50
    hmm i think im on the newest version? i dont see an update notice XD , O WAIT, i just found the debugger trying to find the version of GS i had. Props to you Forcing for making me find it =]
  • ForcingForcing Member Posts: 93
    heh??!

    Now i used the debugger and....

    i really don´t understand what this debugger is, and how to use it and for what to use it?!?

    in which actor do i need to make this attribute? In a new one, or In a actor who i want to see the details?

    what i need to write to the text in the debugger load statement attribute?

    I really don´t understand this attribute :D!!!
  • freon1200freon1200 Member Posts: 50
    o ok, i havent tried it yet, but @Forcing in the behaviors theres a new one called "log debugging statement" so i assume you put that in to your actor. then run the scene and look at debug window from the VIEW option on top bar. going to try it now
  • ForcingForcing Member Posts: 93
    i tried it exactly like you said, but it don´t worked for me!
  • freon1200freon1200 Member Posts: 50
    yeah same for me. i only got the text that was inputted into the "log debugging statement" behavior =[. i wonder if i have to have a bug for anything to show? at present i have no known bugs to test it on. and most bugs unless it was due to a code error probably wouldnt show. tho i know with some sdk's they show the code errors on the bottom of the screen. maybe this is not complete yet. or hopefully it will have a video soon to show how it works .
  • ForcingForcing Member Posts: 93
    Yes i hope too :D
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    The debugger lets you view attributes in real time. It doesnt really mattter what actor its in as long as that actor has access to the attribute you want to see. Then whenever you want to view it and update it you have a log debuger statement. So say you wanted to check the actors self position x every second.

    In the actor you would have a timer,every 1 second, log debugger statement, and select self position x as the attribute

    then open up the debugger and every second you will see the self position x, because thats how your logging it in.

    hope that helps
  • freon1200freon1200 Member Posts: 50
    that definitely makes sense now, gotta try it, and thanks John
  • ForcingForcing Member Posts: 93
    Yeah thanks john, now i did understand how it works, i will try that out :D
Sign In or Register to comment.