Nicolas is right on this - I've done quite a bit of research in trying to use breakpoints with Xray and you just can't do it yet.  Not without the debug player AND the Flash Debugger.

It's something I've already put in for on the wish list with Flash and I'll continue to ask for it to be opened up.  But for right now, we're stuck.

The only way I've found to pause the non-debug player is by making a call via local connection where a response is waiting.  Problem is, you can't inspect that paused SWF.  It won't respond to a subsequent call from another local connection etc.

So, the thought I had been working on was to send variable data via local connection at a break point.  But it's really not a breakpoint by this time, and it doesn't work the way you would use any other debugger/breakpoint scenario.  it's essentially a method call, which boiled down is no different than calling Xray.trace() with variable data.

On 3/31/06, Nicolas Cannasse <[EMAIL PROTECTED]> wrote:
> Yes, for interactive debugging we would need the possibility to stop the
> player
> at any point of the code.
>
> One other solution, which isn't really interactive, but looks useful
> nevertheless
> is Omniscient Debugger
>
> http://www.lambdacs.com/debugger/debugger.html
>
> This would require to log all assignments and function calls. Shouldn't be
> too hard to implement.If you, Nicolas are interested, i'll try to get more
> information about the log format.
>
> Cheers,
> Ralf.

I don't think this is a possible way of going with current Flash
performances. It have already think about it and concluded that it's not
possible to write any reasonable debugger for Flash without some Debug
Player support.

Nicolas

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org



--
John Grden - Blitz
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to