> variables A and B. How is the debugger going to populate a tree view of
> the parent object if it does NOT call that getter?
Got it.
However, to display a variable I would have expected the debugger to just
read the memory.
> In my view, it's a self-evidently poor programming practice to write
> In my view, it's a self-evidently poor programming practice to write a
> property getter which makes changes to the property.
Absolutely right. It's like the difference between GET and POST.
You should never change anything on a server with a GET call, only with
POST.
__
John McCormack wrote:
Consider a Point variable pt:Point(100,200). This generates calls to x() and
y() as expected. But the debugger intialisation of pt causes an uneccessary
call to pt.length() and this inappropriately reset the variable Changed. Why
are getters and setters called uneccessar
essarily by the debugger?
John
- Original Message -
From: "Laurie Jensen" <[EMAIL PROTECTED]>
To:
Sent: Monday, July 02, 2007 11:58 PM
Subject: RE: [Flashcoders] Flash Debugger's not up to it.
> I use the Flash CS3 debugger a lot, second only to trace statements
EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Grden
Sent: Tuesday, 3 July 2007 7:00 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] Flash Debugger's not up to it.
well, I have yet to see any properties show up in the debugger (well, I did
see it once, but hav
well, I have yet to see any properties show up in the debugger (well, I did
see it once, but haven't since then). I'm not an authority on the flash
debugger by any means. In fact, I wrote Xray without even touching the IDE
debugger. Only later did I go back to see what it was capable of when
so
john,
just curious, in this case are you using as3 in cs3?
i ask because the flash cs3 promo material touts a new "advanced debugger"
"consistent with the flex builder 2 debugger".
personally, i never found any use for the debugger in flash 8 or earlier. i
do find useful th
Heh. Nothing to do now but get old school and trace out the values you
want to see. I personally never use the Flash Debugger for reasons like
the one you're talking about. I find it a lot faster to just spit out
the variables I want to see and debug that way.
Xray is the bomb dot com. _gl
I am getting increasingly frustrated trying to debug in the Flash IDE.
I see some, but not all of the variables I expect to see as I step through
code. Also, when I step to the next line I step to some unexpected line.
A google search throws up: trace(), step over/into/outof and our wonderful Xr
9 matches
Mail list logo