Hi 



I’m new to the list and to OL. Just joined an OL-based project and have been 
getting up to speed. I’ve been looking at ways to debug the project with the 
usual step-by-step debugger tools and was encouraged since for FireFox/DHTML 
one is actually recommended by the OL doc (FireBug; see Chapter 50. Debugging 
). 



So I also checked out Flash. Our project’s main focus right now is Flash not 
DHTML. 



In support I also found the following quote on the other list for OL platform 
developers, as follows. 



From: Henry Minsky <henry.minsky <at> gmail.com> 
Subject: Re: adding compilation errors to debugger? 
Newsgroups: gmane.comp.java.openlaszlo.devel 
Date: 2007-04-11 16:05:47 GMT (36 weeks, 1 day, 8 hours and 45 minutes ago) 

Yeah, we actually have two obscure remote debug protocols that our swf apps can 
support. There 
is one based on a TCP socket protocol, using an XML  command format based on a 
standard called XDebug, and we also have a debug protocol based on Flash 
LocalConnection, which you can use in the 4.0 debugger by clicking the "remote 
debug console" option. We've only used the remote debugger for two 
things, one was for the Eclipse IDE, and the other was to help Max debug the 
new sprite kernel. But 
we ought to push on this for a real platform-independent debugger. 



So here is what I am looking to do. I want to take advantage of the Flash stuff 
(LocalConnection etc). 



I have already enabled that "remote debug console" flag and installed the Flash 
Debug Player (version Flash 9). However no luck attaching any debugger to it, I 
probably do not have the right clues as to what to install and how to configure 
the setup. So my questions: 



1.        Where do I get that fdb debugger (is it part of Flex Builder or the 
Flex SDK or both or what)? How do I attach it to a running OL & SWF project? 

2.        Are there any compilation flags to generate debug data that is needed 
by fdb? 

3.        The quote above implies I can get this – alternatively - running in 
Eclipse with a debug perspective; which would be cool; did I understand right 
and if so how? 

4.        Alternatively will Flex Builder hook into OL (in the Flash case of 
course); I don’t mind at least trying that out if someone can guide me. 

5.        Any gotchas? Is this foolish or will it work? 

6.        Any docs on the topic? 



Thanks 

Gilad 



Gilad Parann-Nissany 

Reply via email to