Re: Can IntelliJ show variable values rather than type when debugging via SDM?

2015-01-07 Thread Richard Wallis
Thanks will give it a try.

On Wed, Jan 7, 2015 at 4:27 PM, Jens  wrote:

> Only manually. Right click on a node in the variables section and select
> "evaluate expression...". In the new window add .toString() to the
> expression and hit evaluate.
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/qAN3TrfQZ50/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Can IntelliJ show variable values rather than type when debugging via SDM?

2015-01-07 Thread Richard Wallis
Trying out IntelliJ and the one thing keeping me from switching is that the 
debugger shows a variable's type instead of value.

eg: an ArrayList containing "Foo" and "BAR" will show as ArrayList$ 
instead of ["FOO", "BAR"]

Has anyone got the debugger to show the value of toString() instead of the 
varaible's type?

---

It should be possible because SDBG manages it in eclipse using the 
callToString() method in it's WebkitRuntime class:

https://github.com/sdbg/sdbg/blob/master/com.github.sdbg.debug.core/src/com/github/sdbg/debug/core/internal/webkit/protocol/WebkitRuntime.java#L191

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


Re: Source Maps suddenly don't show java source

2014-12-10 Thread Richard Wallis
Got sourcemaps working on Chromium.  Still doesn't work on Chrome but it
solves the problem.

On Wed, Dec 10, 2014 at 1:35 PM, Richard Wallis  wrote:

> Reverting to 2.6.1 and using the old Dev Mode On bookmarklet works.
>
> Anyone have an idea of what I'm doing wrong?
>
> On Wed, Dec 10, 2014 at 12:07 PM, Richard Wallis 
> wrote:
>
>> @Jens I tracked down the sourcemap.json file and I can manually add it in
>> Chrome Source tab and then source maps will work until the recompile causes
>> the hash to change.
>>
>> Any idea what could be causing Chrome not to autoload the maps?
>>
>> On Wed, Dec 10, 2014 at 11:31 AM, Richard Wallis 
>> wrote:
>>
>>> Just an update.  Problem occurs with Chromium too.
>>>
>>> On Wed, Dec 10, 2014 at 11:15 AM, Richard Wallis 
>>> wrote:
>>>
>>>> Thanks Jens, I've checked multiple times that Source Maps is enabled.
>>>>
>>>> The problem occurs in multiple unrelated gwt projects.  It occurs on
>>>> chrome dev and chrome stable channel and it occurs after deleting Chrome's
>>>> UserData dir so I'm using a completely clean version of Chrome.
>>>>
>>>> I'll try any ideas no matter how stupid, this has completely halted all
>>>> my projects.
>>>>
>>>> On Wed, Dec 10, 2014 at 11:03 AM, Jens 
>>>> wrote:
>>>>
>>>>> If the CodeServer does not show the log output:
>>>>>
>>>>> GET /sourcemaps/app/4EA51AEEB40A4AB0358CAE52B6668036_sourcemap.json
>>>>>sent source map for module 'app' in 257 ms
>>>>>
>>>>> Then Chrome probably did not ask for source maps. Maybe you
>>>>> accidentally disabled JS source map support in Chrome Dev Tool settings.
>>>>>
>>>>> -- J.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "Google Web Toolkit" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/google-web-toolkit/dE8b875dXEU/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to
>>>>> google-web-toolkit@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>
>>
>

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


Re: Source Maps suddenly don't show java source

2014-12-10 Thread Richard Wallis
Reverting to 2.6.1 and using the old Dev Mode On bookmarklet works.

Anyone have an idea of what I'm doing wrong?

On Wed, Dec 10, 2014 at 12:07 PM, Richard Wallis  wrote:

> @Jens I tracked down the sourcemap.json file and I can manually add it in
> Chrome Source tab and then source maps will work until the recompile causes
> the hash to change.
>
> Any idea what could be causing Chrome not to autoload the maps?
>
> On Wed, Dec 10, 2014 at 11:31 AM, Richard Wallis 
> wrote:
>
>> Just an update.  Problem occurs with Chromium too.
>>
>> On Wed, Dec 10, 2014 at 11:15 AM, Richard Wallis 
>> wrote:
>>
>>> Thanks Jens, I've checked multiple times that Source Maps is enabled.
>>>
>>> The problem occurs in multiple unrelated gwt projects.  It occurs on
>>> chrome dev and chrome stable channel and it occurs after deleting Chrome's
>>> UserData dir so I'm using a completely clean version of Chrome.
>>>
>>> I'll try any ideas no matter how stupid, this has completely halted all
>>> my projects.
>>>
>>> On Wed, Dec 10, 2014 at 11:03 AM, Jens  wrote:
>>>
>>>> If the CodeServer does not show the log output:
>>>>
>>>> GET /sourcemaps/app/4EA51AEEB40A4AB0358CAE52B6668036_sourcemap.json
>>>>sent source map for module 'app' in 257 ms
>>>>
>>>> Then Chrome probably did not ask for source maps. Maybe you
>>>> accidentally disabled JS source map support in Chrome Dev Tool settings.
>>>>
>>>> -- J.
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Google Web Toolkit" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/google-web-toolkit/dE8b875dXEU/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to
>>>> google-web-toolkit@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>
>

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


Re: Source Maps suddenly don't show java source

2014-12-10 Thread Richard Wallis
@Jens I tracked down the sourcemap.json file and I can manually add it in
Chrome Source tab and then source maps will work until the recompile causes
the hash to change.

Any idea what could be causing Chrome not to autoload the maps?

On Wed, Dec 10, 2014 at 11:31 AM, Richard Wallis  wrote:

> Just an update.  Problem occurs with Chromium too.
>
> On Wed, Dec 10, 2014 at 11:15 AM, Richard Wallis 
> wrote:
>
>> Thanks Jens, I've checked multiple times that Source Maps is enabled.
>>
>> The problem occurs in multiple unrelated gwt projects.  It occurs on
>> chrome dev and chrome stable channel and it occurs after deleting Chrome's
>> UserData dir so I'm using a completely clean version of Chrome.
>>
>> I'll try any ideas no matter how stupid, this has completely halted all
>> my projects.
>>
>> On Wed, Dec 10, 2014 at 11:03 AM, Jens  wrote:
>>
>>> If the CodeServer does not show the log output:
>>>
>>> GET /sourcemaps/app/4EA51AEEB40A4AB0358CAE52B6668036_sourcemap.json
>>>sent source map for module 'app' in 257 ms
>>>
>>> Then Chrome probably did not ask for source maps. Maybe you accidentally
>>> disabled JS source map support in Chrome Dev Tool settings.
>>>
>>> -- J.
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Google Web Toolkit" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-web-toolkit/dE8b875dXEU/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-web-toolkit+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-web-toolkit@googlegroups.com
>>> .
>>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

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


Re: Source Maps suddenly don't show java source

2014-12-10 Thread Richard Wallis
Just an update.  Problem occurs with Chromium too.

On Wed, Dec 10, 2014 at 11:15 AM, Richard Wallis  wrote:

> Thanks Jens, I've checked multiple times that Source Maps is enabled.
>
> The problem occurs in multiple unrelated gwt projects.  It occurs on
> chrome dev and chrome stable channel and it occurs after deleting Chrome's
> UserData dir so I'm using a completely clean version of Chrome.
>
> I'll try any ideas no matter how stupid, this has completely halted all my
> projects.
>
> On Wed, Dec 10, 2014 at 11:03 AM, Jens  wrote:
>
>> If the CodeServer does not show the log output:
>>
>> GET /sourcemaps/app/4EA51AEEB40A4AB0358CAE52B6668036_sourcemap.json
>>sent source map for module 'app' in 257 ms
>>
>> Then Chrome probably did not ask for source maps. Maybe you accidentally
>> disabled JS source map support in Chrome Dev Tool settings.
>>
>> -- J.
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google Web Toolkit" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-web-toolkit/dE8b875dXEU/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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


Re: Source Maps suddenly don't show java source

2014-12-10 Thread Richard Wallis
Thanks Jens, I've checked multiple times that Source Maps is enabled.

The problem occurs in multiple unrelated gwt projects.  It occurs on chrome
dev and chrome stable channel and it occurs after deleting Chrome's
UserData dir so I'm using a completely clean version of Chrome.

I'll try any ideas no matter how stupid, this has completely halted all my
projects.

On Wed, Dec 10, 2014 at 11:03 AM, Jens  wrote:

> If the CodeServer does not show the log output:
>
> GET /sourcemaps/app/4EA51AEEB40A4AB0358CAE52B6668036_sourcemap.json
>sent source map for module 'app' in 257 ms
>
> Then Chrome probably did not ask for source maps. Maybe you accidentally
> disabled JS source map support in Chrome Dev Tool settings.
>
> -- J.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google Web Toolkit" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-web-toolkit/dE8b875dXEU/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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


Source Maps suddenly don't show java source

2014-12-10 Thread Richard Wallis
I've been using source maps for the last few months without trouble.

Yesterday everything worked fine.  Today the java sourcemaps won't appear.

I've attached an image to show that the codeserver is running correctly on 
port 9876 it just isn't serving the java source.

I'm launching from maven, the problem occurs with gwt:run & gwt:debug.

Incremental compilation still works correctly.

My Console log below:

z:\ws1\watchwords>mvn gwt:debug
[INFO] Scanning for projects...
[INFO]
[INFO] 

[INFO] Building Wave 1.0
[INFO] 

[INFO]
[INFO] >>> gwt-maven-plugin:2.7.0:debug (default-cli) > process-classes @ 
wave >>>
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ wave 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
z:\ws1\watchwords\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ wave ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< gwt-maven-plugin:2.7.0:debug (default-cli) < process-classes @ 
wave <<<
[INFO]
[INFO] --- gwt-maven-plugin:2.7.0:debug (default-cli) @ wave ---
[INFO] starting debugger on port 8000 in suspend mode
[INFO] create exploded Jetty webapp in z:\ws1\watchwords\target\wave-1.0
[INFO] Listening for transport dt_socket at address: 8000
[ERROR] Dec 10, 2014 10:32:17 AM java.util.prefs.WindowsPreferences 
[ERROR] WARNING: Could not open/create prefs root node 
Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) 
returned error code 5.
[INFO] Super Dev Mode starting up
[INFO]workDir: a:\temp\gwt-codeserver-2579418874325485548.tmp
[INFO]Loading Java files in com.wallissoftware.wave.WaveWithLogging.
[ERROR] Dec 10, 2014 10:32:20 AM 
com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
[ERROR] INFO: Successfully processed 
z:\ws1\watchwords\target\wave-1.0\WEB-INF/appengine-web.xml
[ERROR] Dec 10, 2014 10:32:20 AM 
com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
[ERROR] INFO: Successfully processed 
z:\ws1\watchwords\target\wave-1.0\WEB-INF/web.xml
[ERROR] Dec 10, 2014 10:32:20 AM 
com.google.appengine.tools.development.SystemPropertiesManager 
setSystemProperties
[ERROR] INFO: Overwriting system property key 
'java.util.logging.config.file', value 
'C:\Users\Richard\.m2\repository\com\google\appengine\appengine-java-sdk\1.9.17\appengine-java-sdk\appengine-java-sdk-1.9.17\config\sdk\logging.properties'
 
with value 'WEB-INF/logging.properties' from 
'z:\ws1\watchwords\target\wave-1.0\WEB-INF\appengine-web.xml'
[ERROR] Dec 10, 2014 10:32:20 AM 
com.google.apphosting.utils.jetty.JettyLogger info
[ERROR] INFO: Logging to JettyLogger(null) via 
com.google.apphosting.utils.jetty.JettyLogger
[ERROR] Dec 10, 2014 10:32:20 AM 
com.google.appengine.tools.development.IsolatedAppClassLoader 
checkWorkingDirectory
[ERROR] WARNING: Your working directory, (z:\ws1\watchwords) is not equal 
to your
[ERROR] web application root (Z:\ws1\watchwords\target\wave-1.0)
[ERROR] You will not be able to access files from your working directory on 
the production server.
[ERROR]
[ERROR] Dec 10, 2014 10:32:21 AM 
com.google.apphosting.utils.jetty.JettyLogger info
[ERROR] INFO: jetty-6.1.x
[INFO]Module setup completed in 5044 ms
[ERROR] 2014-12-10 10:32:22.345:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT
[ERROR] 2014-12-10 10:32:22.396:INFO:oejs.AbstractConnector:Started 
SelectChannelConnector@127.0.0.1:9876
[INFO]
[INFO] The code server is ready at http://127.0.0.1:9876/
[ERROR] Dec 10, 2014 10:32:22 AM 
com.google.apphosting.utils.jetty.JettyLogger info
[ERROR] INFO: Started SelectChannelConnector@0.0.0.0:
[ERROR] Dec 10, 2014 10:32:22 AM 
com.google.appengine.tools.development.AbstractModule startup
[ERROR] INFO: Module instance default is running at http://localhost:/
[ERROR] Dec 10, 2014 10:32:22 AM 
com.google.appengine.tools.development.AbstractModule startup
[ERROR] INFO: The admin console is running at 
http://localhost:/_ah/admin
[ERROR] Dec 10, 2014 10:32:22 AM 
com.google.appengine.tools.development.DevAppServerImpl doStart
[ERROR] INFO: Dev App Server is now running
[INFO] GET /recompile/wave
[INFO]Job com.wallissoftware.wave.WaveWithLogging_1_0
[INFO]   starting job: com.wallissoftware.wave.WaveWithLogging_1_0
[INFO]   binding: codec.base64Supported=yes
[INFO]   Compiling module com.wallissoftware.wave.WaveWithLogging
[INFO]  Computing all possible rebind results for 
'com.google.gwt.logging.shared.RemoteLoggingService'
[INFO] Rebinding 
com.google.gwt.logging.shared.RemoteLoggingService
[INFO]Invoking generator 
com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator
[INFO]   Generating client proxy for remote service 
interface 'com.google.gwt.logging.

Re: Manipulating current history token

2014-07-24 Thread Richard Wallis
If the page isn't reloaded between navigation then I think the presenter
should remember it's state.

Otherwise I think storing which objects are open in localStorage and then
reading the state from that might be better than trying to store state in
the historyToken.


On Thu, Jul 24, 2014 at 9:49 PM, Shaun Tarves  wrote:

> I am using Places in my GWT app, but I've encountered a scenario in which
> I want to manually manipulate the current history token, and I'm having
> trouble:
>
> I have a screen showing a collection of objects, where the user can click
> a button to load more results (similar to an infinite scrolling scenario).
> Each time I add more results, I want to make note of that in the current
> history token so that if a user navigates back to the page, I have that
> number and can initially load that many results.
>
> I DON'T want to change the visible URL token whenever they load more
> results.
>
> I've tried doing placeController.getWhere and manipulating the actual
> place to set a value, but that doesn't help when going forward/back, since
> the altered place was never hashed on the history stack.
>
> I've also tried to alter the history item that is on the history stack by
> calling History.getValue() and just making changes to it, but that doesn't
> seem to work either.
>
> History.newItem(string, false) also doesn't work because it will change my
> visible token, which is exactly what I don't want to do.
>
> Thoughts?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

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