Re: [Flashcoders] RE: Flash AS3 debugging
Mendelsohn, Michael wrote: Thanks, that's a great article...but this is a really weird issue. It might be some sort of Windows bug. I hit a break point, things are rendered on the stage. As soon as I click stepIn in the debug console, the swf window crashes (not responding). - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders When the breakpoint is hit, the Flash IDE takes over and the swf stops. The same happens in Flex. Typically, if you then attempt to close down the browser it says it has stopped responding but when you continue in the debugger control is regained. The Flex Builder debugger is fantastic compared to Flash's one - but not perfect. Microsoft's debugger for C/C++ programs puts an interrupt code byte at the place it wants control and this causes control to pass to the debugger. This is the same sort of thing happening here. John ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] RE: Flash AS3 debugging
This image might help you visualize what occurs internally with Flash Player AV2M on each frame: http://www.craftymind.com/wp-content/uploads/2008/04/marshalledsliceexport.png And this is the article at length: http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/ But basically, if you have, for example, a loop in your code that changes the Y position of a bunch of clips and you step line-by-line through your code with the debugger, it will iterate over the clips one by one without anything changing on screen - even though their Y positions are being changed. This is because all code for that one specific frame within your flash movie must first execute before the screen will render any changes. It's a 1-2 process; All code for a frame, then all rendering (drawing) for a frame. This may be what you are talking about. SF. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] RE: Flash AS3 debugging
Thanks, that's a great article...but this is a really weird issue. It might be some sort of Windows bug. I hit a break point, things are rendered on the stage. As soon as I click stepIn in the debug console, the swf window crashes (not responding). - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders