Thanks Eric. I added this to my main application file: public var modelWatcher:ModelLocator = ModelLocator.getInstance(); //watch this variable while debugging
I added this to my watch expressions: this.parentApplication.modelWatcher It seems like it works. Did you have something else in mind, or did I interpret you properly? Thank you, Mike Chabot On Feb 10, 2008 12:15 PM, Eric Cancil <[EMAIL PROTECTED]> wrote: > Why dont you add a local variable to your main application file and watch > that. > > On Feb 9, 2008 5:33 PM, Mike Chabot <[EMAIL PROTECTED]> wrote: > > In FB3 debug mode I want to be able to observe the value of my > > singleton object at any time. However, if I write > > "ModelLocator.getInstance()" as a watch expression I get the error of > > "No such variable: ModelLocator," which is true since this is not a > > local variable to the page, unless my breakpoint is inside of the > > ModelLocator file. > > > > How do I watch this value without having to put a breakpoint in the > > ModelLocator file and without having to put in a throw-away local > > variable such as x = ModelLocator.getInstance(), which would allow me > > to watch x. > > > > The debug watch Expression box allows for typing many lines of code, > > but I'm not exactly sure what I'm allowed to type in terms of actual > > programming code in this box and the manual wasn't of much help. > > > > Thank you, > > Mike Chabot > >

