Skip to main content
Participating Frequently
February 28, 2007
解決済み

application.allowDebug

  • February 28, 2007
  • 返信数 5.
  • 565 ビュー
Ok, i have set

application.allowDebug = true;

in my main.asc file but i can never see inside shared objects with the fms console.

its like it isnt accepting the debug session.

any ideas?

Cheers
    このトピックへの返信は締め切られました。
    解決に役立った回答
    Trying to read in all of the client object data is probably choking the admin console. The client object contains a bunch of methods and variables (as well as whatever you might have added to the client prototype), and I"m not sure how the admin console would translate that to property values.

    Storing the entire client object in a sharedObject is sort of a waste of memory, as all of the client object data is already stored in the application.clients array. If you need to sync information about clients (like showing a user list), don't add the client object to the SO... just the info you need like user name and id (to refer back to the client object on the server side).

    返信数 5

    alanskinner作成者
    Participating Frequently
    March 1, 2007
    it was just for debugging so i could spy on it.

    Works if a wait about for a while.

    Cheers guys
    alanskinner作成者
    Participating Frequently
    March 1, 2007

    hi,

    all i am doing this

    in my onConnect...
    this.usersSO.setProperty("user_"+ p_client.id, p_client);

    p_client is the client object

    Cheers
    解決!
    March 1, 2007
    Trying to read in all of the client object data is probably choking the admin console. The client object contains a bunch of methods and variables (as well as whatever you might have added to the client prototype), and I"m not sure how the admin console would translate that to property values.

    Storing the entire client object in a sharedObject is sort of a waste of memory, as all of the client object data is already stored in the application.clients array. If you need to sync information about clients (like showing a user list), don't add the client object to the SO... just the info you need like user name and id (to refer back to the client object on the server side).
    Known Participant
    February 28, 2007
    Sorry, thought this was a reply to one of my post's with a similar question.
    Known Participant
    February 28, 2007
    Nope just a a few lines of data.

    February 28, 2007
    Do your SO's contain a lot of multidimenstional arrays or objects, or, do you have SO's where the data is constantly changing? I've found that the console can be slow to respond when it has a lot of data to chew on (somewtimes upwards of a minute to see the property list)