DevMode woe

526 views
Skip to first unread message

Shawn Brown

unread,
Sep 4, 2016, 6:47:01 AM9/4/16
to google-we...@googlegroups.com
Can’t get DevMode to work.

Think it’s related to my app.gwt.xml using:

<module rename-to=‘app’>


Trying my page give me:
Error:Couldn’t load app from Super Dev Mode server at http://127.0.0.1:9876.

Am seeing (in Chrome brower dev console)
app.nocache.js:54 GET http://127.0.0.1:9876/recompile-requester/app net::ERR_FAILEDinjectScriptTag @ app.nocache.js:54

I think the codeserver is fine:

Super Dev Mode starting up

Initializing App Engine server


The code server is ready at http://127.0.0.1:9876/


I can view my data in the admin console fine

http://127.0.0.1:8888/_ah/admin/ <—- works great


Hints? Tips? Suggestions?

Thomas Broyer

unread,
Sep 4, 2016, 7:39:09 AM9/4/16
to GWT Users
And can you access http://127.0.0.1:9876/ ?
 

Shawn Brown

unread,
Sep 4, 2016, 8:20:50 AM9/4/16
to google-we...@googlegroups.com
Thanks for the quick response.

Yes and I get:

GWT Code Server

  1. Drag these two bookmarklets to your browser's bookmark bar:
  2. Visit a web page that uses one of these modules:
    • app
  3. Click "Dev Mode On" to start development mode.
So I did 1, but 2 gives me an error:

app (GWT Code Server)

This module hasn't been compiled yet.

Output Files

(From the last successful compile.)

Recompiling (from Eclipse GWT Compile Project) and trying again does nothing.  Restarting the server and trying again gives the same result.

 

Shawn Brown

unread,
Sep 4, 2016, 8:24:50 AM9/4/16
to google-we...@googlegroups.com
And can you access http://127.0.0.1:9876/ ?

Yes and I get:

GWT Code Server

  1. Drag these two bookmarklets to your browser's bookmark bar:
  2. Visit a web page that uses one of these modules:
    • app
  3. Click "Dev Mode On" to start development mode.
So I did 1, but 2 gives me an error:

app (GWT Code Server)

This module hasn't been compiled yet.

Output Files

(From the last successful compile.)

Shawn Brown

unread,
Sep 4, 2016, 9:08:46 AM9/4/16
to google-we...@googlegroups.com
 Setting (in eclipse) the GWT code server port and the Appengine built-in server both to automatically select an unused port (ended up 58777) and accessing it at


gets me a response of:

Compiling app

There aren’t any process open on my computer though using any significant amount CPU. 

So checking Chrome Dev Mode gives a error with a link

Trying that link in a new tab shows this in my Eclipse server 

GET /recompile/ap

   Job com.k.app.MyApp_1_1

      starting job: com.k.app.MyApp_1_1

      binding: gxt.device=desktop

      binding: gxt.user.agent=chrome

      binding: locale=en

      binding: user.agent=safari

      binding: user.agent.os=mac

      skipped compile because no input files have changed

      0.410s total — Compile completed


Maybe the underlying confusion is that I am using an offline cache and it loads from that… 


Document was loaded from Application Cache with manifest http://127.0.0.1:59047/offline.manifest


Then gives me fluencybuildergae.nocache.js:54 GET http://127.0.0.1:59040/recompile-requester/fluencybuildergae net::ERR_FAILED


Still why the need for a recompile… nothing has changed.


Should I just give up on superdevmode until 2.8?  Will it have changed?  This is beyond my abiility to understand what to do…



Thomas Broyer

unread,
Sep 4, 2016, 10:31:34 AM9/4/16
to GWT Users


On Sunday, September 4, 2016 at 3:08:46 PM UTC+2, Shawn wrote:


Maybe the underlying confusion is that I am using an offline cache and it loads from that… 


Document was loaded from Application Cache with manifest http://127.0.0.1:59047/offline.manifest


Then gives me fluencybuildergae.nocache.js:54 GET http://127.0.0.1:59040/recompile-requester/fluencybuildergae net::ERR_FAILED


Still why the need for a recompile… nothing has changed.


Should I just give up on superdevmode until 2.8?  Will it have changed?


No (not in a way that'd change anything to your problem)
 

This is beyond my abiility to understand what to do…


Disable your application cache? 

Shawn Brown

unread,
Sep 4, 2016, 11:27:36 AM9/4/16
to GWT Users
Duh?!?!

Took my manifest=“offline.manifest” out of the html tag and it seems to be working fine….

Is there a way to get it to execute code modification in the debugger?  I found my source and adding a logging statement but can’t save the file so it doesn’t execute.  Is there a good book on this … is any chrome debugging book ok?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Thomas Broyer

unread,
Sep 4, 2016, 12:59:19 PM9/4/16
to GWT Users


On Sunday, September 4, 2016 at 5:27:36 PM UTC+2, Shawn wrote:

Is there a way to get it to execute code modification in the debugger?  I found my source and adding a logging statement but can’t save the file so it doesn’t execute.  Is there a good book on this … is any chrome debugging book ok?

You can either use Chrome workspaces (https://developers.google.com/web/tools/setup/setup-workflow) or remote-debug from your IDE and have it handle the Source Maps (SDBG in Eclipse for instance: https://sdbg.github.io

Shawn Brown

unread,
Sep 5, 2016, 6:31:12 AM9/5/16
to GWT Users
Thanks.

SuperDevMode working
debugging with SDBG
upgraded to 2.8b2

Selenium testing works better this way!

--
Reply all
Reply to author
Forward
0 new messages