Gordon's right -- the debugger's techniques can't be used outside of the debugger. Its techniques are completely inaccessible from ActionScript.
- Mike Morearty, Adobe Flex Builder team --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > cc'ing Mike to get the lowdown on this. But I'm pretty sure that > whatever the debugger is doing can't be done from ActionScript. > > - Gordon > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of marty.pitt > Sent: Wednesday, November 21, 2007 1:14 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Reflection -- Accessing private fields > > > > Spoil sports. :) > > How does the debugger expose the properties and their values? Nothing > I can leverage there? > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > , "Gordon Smith" <gosmith@> wrote: > > > > I don't believe you can get reflection info about protected or > internal > > APIs either. > > > > Gordon Smith > > Adobe Flex SDK Team > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of Alex Harui > > Sent: Wednesday, November 21, 2007 11:39 AM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: RE: [flexcoders] Reflection -- Accessing private fields > > > > > > > > Private is private. > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > ] On > > Behalf Of marty.pitt > > Sent: Tuesday, November 20, 2007 9:25 PM > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > > Subject: [flexcoders] Reflection -- Accessing private fields > > > > Hello all. > > > > Is there any way to get the names of private / protected / internal > > variables within a class at runtime? (ie., actual reflection!) > > > > It seems it's not possible using getClassInfo(). > > > > What about some sort of custom serialization? (Remembering that the > > names of the variables is not known). > > > > Any thoughts? > > > > Cheers > > > > Marty > > >