|
List Info
Thread: Re: adding compilation errors to debugger?
|
|
| Re: adding compilation errors to
debugger? |

|
2007-04-11 09:19:31 |
|
ONE OF THE THINGS THAT SOME PEOPLE REALLY DISLIKE ABOUT FLEX (BUT I REALLY LOVED) IS THAT DEBUGGING CAN BE REMOTELY THROUGH FDB, A COMMAND-LINE DEBUGGER.
BECAUSE FDB IS GDB-LIKE, IT'S POSSIBLE TO INTEGRATE GDB FRONT-ENDS WITH THE FLEX DEBUGGER.  I'M NOT SURE ABOUT THE CURRENT BUILD OF FLEXBUILDER, BUT THIS IS WHAT FLEX BUILDER 1.0 (THE DREAMWEAVER-BASED BEHEMOTH) DID.
FLEX DEBUGGING NEEDED TO BE DONE THROUGH A SPECIAL "DEBUG PLAYER" AND I DON'T BELIEVE MACROBE PUBLICLY RELEASED ANY HOOKS INTO THE PLAYER. -E
ON TUE, APR 10, 2007 AT  7:29 PM, HENRY MINSKY WROTE:
THERE HAS BEEN TALK OF MOVING ALL OF THE DEBUGGER INTERFACE TO USE A REMOTE DEBUGGER PROTOCOL OF SOME KIND, SO THE DEBUGGER COULD BE RUNNING IN ITS OWN BROWSER WINDOW, THAT WOULD PROBABLY MAKE THINGS EASIER AT SOME POINT, BUT IT'S JUST BEEN BITS OF IDEAS TOSSED OUT UP TO NOW.
ON 4/10/07, SCOTT EVANS < GSE LASZLOSYSTEMS.COM">GSE LASZLOSYSTEMS.COM> WROTE: ON TUE, 10 APR 2007, P T WITHINGTON WROTE:
> ON 2007-04-10, AT 16:49 EDT, SCOTT EVANS WROTE: > > > WE DEPLOY (AND THUS, DEVELOP) OUR APPS IN AN HTML WRAPPER THAT EMBEDS > > THE APP.&NBSP; A DOWNSIDE TO THIS DEVELOPMENT STYLE IS THAT WE DON'T SEE LZX > > COMPILATION ERRORS. > > > > IT'D BE NICE TO HAVE COMPILATION ERRORS REPEATED IN THE DEBUGGER WINDOW ON > > STARTUP.&NBSP; DOABLE? > > NOT THAT EASY, BUT... > > IF YOU REQUEST YOUR APP WITH (THE UNDOCUMENTED TYPE) ?LZT=CANVAS YOU > WILL GET BACK XML THAT WILL HAVE AN <LPS-ERROR> NODE IF THERE ARE ANY > ERRORS.&NBSP; IS THAT HELPFUL AT ALL?
WELL, IDEALLY THIS WOULD BE A FEATURE THAT GETS ADDED TO OPENLASZLO AT SOME POINT -- THAT WAS REALLY THE INTENTION OF MY ORIGINAL POST. SO WE WOULDN'T CHANGE ANYTHING IN OUR APP; WE'D JUST START SEEING COMPILE ERRORS IN THE DEBUGGER.
IT'S NOT SOMETHING WE NEED YESTERDAY; IT'S MORE OF A "THIS SURE WOULD BE NICE" THING.&NBSP; BEFORE I OPENED A JIRA FEATURE, I WANTED TO HEAR FROM YOU GUYS IF IT WAS EVEN WORTHWHILE.
GSE
-- HENRY MINSKY SOFTWARE ARCHITECT HMINSKY LASZLOSYSTEMS.COM">HMINSKY LASZLOSYSTEMS.COM
---=---===------- ELLIOT WINARD SR. SOFTWARE ENGINEER LASZLO STUDIOS ---=---===------- |
| Re: adding compilation errors to
debugger? |

|
2007-04-11 11:05:47 |
|
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.
The concern I have is having a good high bandwidth low-latency and reliable communication stream that won't crap out if the app is heavily hosed, or the LFC is broken. The Flash LocalConnection channel is fast and seems reliable. For DHTML apps, we would need something similar.
On 4/11/07, Elliot Winard < ewinard laszlosystems.com">ewinard laszlosystems.com> wrote:
One of the things that some people really dislike about Flex (but I really loved) is that debugging can be remotely through fdb, a command-line debugger.
Because fdb is gdb-like, it's possible to integrate gdb front-ends with the Flex debugger. I'm not sure about the current build of FlexBuilder, but this is what Flex Builder
1.0 (the Dreamweaver-based behemoth) did.
Flex debugging needed to be done through a special "debug player" and I don't believe Macrobe publicly released any hooks into the player.
-e
On Tue, Apr 10, 2007 at 7:29 PM, Henry Minsky wrote:
There has been talk of moving all of the debugger interface to use a remote debugger protocol of some kind, so the
debugger could be running in its own browser window, that would probably make things easier at some point, but
it's just been bits of ideas tossed out up to now.
On 4/10/07,
Scott Evans < gse laszlosystems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gse laszlosystems.com> wrote: On Tue, 10 Apr 2007, P T Withington wrote:
> On 2007-04-10, at 16:49 EDT, Scott Evans wrote:
>
> > We deploy (and thus, develop) our apps in an HTML wrapper that embeds
> > the app. A downside to this development style is that we don't see LZX
> > compilation errors.
> >
> > It'd be nice to have compilation errors repeated in the debugger window on
> > startup. Doable?
>
> Not that easy, but...
>
> If you request your app with (the undocumented type) ?lzt=canvas you
> will get back xml that will have an <lps-error> node if there are any
> errors. Is that helpful at all?
Well, ideally this would be a feature that gets added to OpenLaszlo
at some point -- that was really the intention of my original post.
So we wouldn';t change anything in our app; we'd just start seeing
compile errors in the debugger.
It's not something we need yesterday; it's more of a "this sure would be
nice" thing. Before I opened a Jira feature, I wanted to hear from you
guys if it was even worthwhile.
gse
--
Henry Minsky
Software Architect
hminsky laszlosystems.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">hminsky laszlosystems.com
---=---===-------
Elliot Winard
Sr. Software Engineer
Laszlo Studios
---=---===-------
-- Henry Minsky Software Architect hminsky laszlosystems.com">hminsky laszlosystems.com
|
| Re: adding compilation errors to
debugger? |
  United States |
2007-04-11 11:15:19 |
On 2007-04-11, at 12:05 EDT, Henry Minsky wrote:
> 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,
Ref?
|
|
| Re: adding compilation errors to
debugger? |

|
2007-04-11 11:29:21 |
|
http://xdebug.org/docs-dbgp.php
I always have trouble finding that reference...
On 4/11/07, P T Withington
< ptw openlaszlo.org">ptw openlaszlo.org> wrote:On 2007-04-11, at 12:05 EDT, Henry Minsky wrote:
> 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,
Ref?
-- Henry Minsky Software Architect hminsky laszlosystems.com">hminsky laszlosystems.com
|
[1-4]
|
|