Re: [gwt-contrib] Digest for google-web-toolkit-contributors@googlegroups.com - 5 updates in 1 topic

36 views
Skip to first unread message

Arnaud TOURNIER

unread,
Nov 25, 2014, 8:17:24 AM11/25/14
to Digest recipients
You may check the sdbg project which aims to drive the chrome debugger from eclipse.
You get an experience really close to the old dev mode, like working with breakpoints from eclipse
Thanks
Arnaud

Le mar. 25 nov. 2014 11:55, null <google-web-tool...@googlegroups.com> a écrit :
Brandon Donnelson <branfl...@gmail.com>: Nov 24 09:38AM -0800

I'm investigating the possibility of creating a js chrome dev tools
extension to talk OOPHM with GPE OOPHM. So far it looks potential feasible
to use what's in place on in GPE to do the communicating with some new
browser extension. Although I do see having to write some new bidirectional
options to sync up the log entries and maybe adding some new parsing
ability for sdm output.
 
For those who might know some about the OOPHM process, would you see any
hang ups in writing a chrome dev tools javascript extension?
 
Thanks,
Brandon
Ray Cromwell <cromw...@google.com>: Nov 24 09:49AM -0800

If you mean replacing the DevMode plugin with pure JS in Chrome Dev
Tools, I don't think it's practical. You need synchronously re-entrant
code execution. Javascript's only synchronous blocking call is XHR
sync. But you also need re-entrancy, and when you are
debugging/pausing execution, you run into additional hurdles. Many
people have tried hacks to do this, with Applets, with XHR, it's
possible in theory if you rewrite all code sent to the browser to use
continuations. I would advocate just continuing to make IDE
integration with SDM better.
 
 
 
 
On Mon, Nov 24, 2014 at 9:38 AM, Brandon Donnelson
"Manuel Carrasco Moñino" <man...@apache.org>: Nov 24 07:28PM +0100

Leif at Vaadin already was exploring the possibility of having a devmode in
pure JS, his experimental work is at https://github.com/Legioth/devmodejs,
afaik although it's feasible (he succeed debugging some stuff) it is very
slow, apart from other issues like memory allocation, etc.
 
 
 
On Mon, Nov 24, 2014 at 6:49 PM, 'Ray Cromwell' via GWT Contributors <
Goktug Gokdogan <gok...@google.com>: Nov 24 10:30AM -0800

Somebody previously experimented with it:
https://github.com/Legioth/devmodejs
 
 
On Mon, Nov 24, 2014 at 9:49 AM, 'Ray Cromwell' via GWT Contributors <
Brandon Donnelson <branfl...@gmail.com>: Nov 24 11:57AM -0800

Ah ha, nice. Thanks for sharing. I remember seeing Lief's work now that you
bring that up.
 
Ok I'm ending my OOPHM hacking, although I'd like to look at the
possibility of using IDE to remotely control browser dev tools and work
with the SDM systems, or in other words I like what Ray said.
 
Like working with break points in the browser source maps could be synced
the IDE breakpoints. Would be nifty to look into js modifications done in
incremental compile and inject them into the browser instead of waiting for
them to be loaded again on refresh.
 
Thanks,
Brandon
 
On Monday, November 24, 2014 10:30:24 AM UTC-8, Goktug Gokdogan wrote:
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to google-web-toolkit-co...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages