Re: Help with Super Dev Mode not showing content
Sounds strange. You can open Chrome Dev Tools and on the sources tab there is a small "pause" icon on the right which says "Pause on exceptions". You can even tell Chrome to pause on any exception regardless if caught or not. So you could start your app and before clicking the tab that does not work you could activate that Chrome feature to see if any exception is thrown that might not reach the browser console for any reason. Alternatively you could set a break point in Chrome debugger and then step through your code until it might fails. You could also place a GWT.debugger() call into your Java code and Chrome will stop at that location just like with break points. Also as a general hint: If you use GWT 2.7. then the bookmarklets are generally not needed. When you launch the SuperDevMode CodeServer it will generate a special .nocache.js file that triggers recompilation whenever you reload the browser. However I think GWT 2.7 has a timestamp bug and if that .nocache.js file already exists because you have done some normal compilation then it might happen that the CodeServer does not replace that file. So to be sure you can delete the GWT output folder, restart SDM and then deploy the app with the newly generated .nocache.js. -- J. -- 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: Help with Super Dev Mode not showing content
Hi Jens- Thanks, I also thought of using the debugger and I think I might already have a lead. Great advice! I didn't know about the other debugging features you mentioned so I'll make a note of those. I am finding that I need to use the bookmarklets most of the time. It isn't a major nuisance so it isn't a problem, but thanks for the info. I think the debugger will lead me to the problem so thanks again. If you're interested in what I find out please let me know. Thanks! On Tue, Jun 23, 2015 at 11:26 AM, Jens wrote: > Sounds strange. > > You can open Chrome Dev Tools and on the sources tab there is a small > "pause" icon on the right which says "Pause on exceptions". You can even > tell Chrome to pause on any exception regardless if caught or not. > So you could start your app and before clicking the tab that does not work > you could activate that Chrome feature to see if any exception is thrown > that might not reach the browser console for any reason. > > Alternatively you could set a break point in Chrome debugger and then step > through your code until it might fails. You could also place a > GWT.debugger() call into your Java code and Chrome will stop at that > location just like with break points. > > Also as a general hint: If you use GWT 2.7. then the bookmarklets are > generally not needed. When you launch the SuperDevMode CodeServer it will > generate a special .nocache.js file that triggers recompilation > whenever you reload the browser. However I think GWT 2.7 has a timestamp > bug and if that .nocache.js file already exists because you > have done some normal compilation then it might happen that the CodeServer > does not replace that file. So to be sure you can delete the GWT output > folder, restart SDM and then deploy the app with the newly generated > .nocache.js. > > -- 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/UNXCyvjnnTs/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: Help with Super Dev Mode not showing content
Hi Jens- Just letting you know I found the problem using the "pause on exceptions" feature. Handy that! Thanks for leading me in the right direction! Robert On Tue, Jun 23, 2015 at 11:32 AM, Robert J. Carr wrote: > Hi Jens- > > Thanks, I also thought of using the debugger and I think I might already > have a lead. Great advice! I didn't know about the other debugging > features you mentioned so I'll make a note of those. > > I am finding that I need to use the bookmarklets most of the time. It > isn't a major nuisance so it isn't a problem, but thanks for the info. > > I think the debugger will lead me to the problem so thanks again. If > you're interested in what I find out please let me know. > > Thanks! > > > On Tue, Jun 23, 2015 at 11:26 AM, Jens wrote: > >> Sounds strange. >> >> You can open Chrome Dev Tools and on the sources tab there is a small >> "pause" icon on the right which says "Pause on exceptions". You can even >> tell Chrome to pause on any exception regardless if caught or not. >> So you could start your app and before clicking the tab that does not >> work you could activate that Chrome feature to see if any exception is >> thrown that might not reach the browser console for any reason. >> >> Alternatively you could set a break point in Chrome debugger and then >> step through your code until it might fails. You could also place a >> GWT.debugger() call into your Java code and Chrome will stop at that >> location just like with break points. >> >> Also as a general hint: If you use GWT 2.7. then the bookmarklets are >> generally not needed. When you launch the SuperDevMode CodeServer it will >> generate a special .nocache.js file that triggers recompilation >> whenever you reload the browser. However I think GWT 2.7 has a timestamp >> bug and if that .nocache.js file already exists because you >> have done some normal compilation then it might happen that the CodeServer >> does not replace that file. So to be sure you can delete the GWT output >> folder, restart SDM and then deploy the app with the newly generated >> .nocache.js. >> >> -- 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/UNXCyvjnnTs/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.