application.allowDebug

application.allowDebug

Post by alanskinne » Thu, 01 Mar 2007 18:05:20


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
 
 
 

application.allowDebug

Post by JayCharle » Fri, 02 Mar 2007 01:56:23

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)

 
 
 

application.allowDebug

Post by [djdomain » Fri, 02 Mar 2007 02:22:44

Nope just a a few lines of data.
 
 
 

application.allowDebug

Post by [djdomain » Fri, 02 Mar 2007 02:23:46

Sorry, thought this was a reply to one of my post's with a similar question.
 
 
 

application.allowDebug

Post by alanskinne » Fri, 02 Mar 2007 18:10:35


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
 
 
 

application.allowDebug

Post by JayCharle » Sat, 03 Mar 2007 02:00:37

Trying to read in all of the client object data is probably *** 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).
 
 
 

application.allowDebug

Post by alanskinne » Sat, 03 Mar 2007 02:24:30

it was just for debugging so i could spy on it.

Works if a wait about for a while.

Cheers guys