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:
|