Re: Need help debugging 2.0.3 (IE/Chrome - Eclipse Neon)

2020-01-17 Thread Thomas Broyer
Back in the days, DevMode used to require a browser plugin and actually ran 
the code in Java (rather than compiling it to JS as SuperDevMode does 
nowadays).
You can find the plugin for IE at 
https://gwt.googlesource.com/gwt-plugins/+/refs/heads/master/ie/prebuilt/ 
(plugins 
for other browsers no longer work, unless you can find a very old Firefox 
version, such as 24 –btw, this is the very reason SuperDevMode had to be 
built–; but IIRC the IE plugin still works even in IE 11).
You'll then run DevMode in debug from Eclipse and set breakpoints in your 
Java code and debug it as if it was a standard Java application.

Please note that GWT 2.0.3 is very old (will be 10 YEARS OLD in a month 
from now ) 
so you're highly encouraged to upgrade to GWT 2.8.2 (already more than 2 
years old, but still working great with current browsers). Your main 
blockers are likely to be third-party dependencies though…

On Wednesday, January 15, 2020 at 6:06:35 PM UTC+1, Luis Soto Sepulveda 
wrote:
>
> Hi Everyone:
>
> I'm working on this web application (Intranet JEE / Rest Services 
> application) and is using an OLD GWT version (probably 2.0.3 as i can see 
> in the code)...
>
> This application works fine running on Internet explorer and chrome, but 
> here "development team" told me that i can "not perform direct debug in 
> some java classes, mainly java files on Eclipse in front end (starting from 
> GWT Entry Point and then...)
>
> But i can debug some parts of back end with eclipse (rest services backend 
> layer)...
>
> So i need help with the following:
>
> 1) Can i debug GWT 2.0 using IE / chrome and Eclipse IDE (Neon) ???, IF 
> YES please send me here any URL with this kind information...
>
> As i can see i can not use "super dev mode" since i have no access to 
> source maps in order to debug GWT and point this to JEE class files 
> (because this is supported in GWT 2.5 or above)...
>
> SO, how can i debug GWT if i have no access to Source maps ???
>
> (i'm also not administrator user in my machine, so i can not install 
> software using windows installers)
>
> Best Regards.
>

-- 
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-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/76bc9cf8-9420-459d-9ef5-5b1c74297d12%40googlegroups.com.


Re: Need help debugging 2.0.3 (IE/Chrome - Eclipse Neon)

2020-01-17 Thread Michael Conrad

Suggestions:

a) request a dev box or context to host your debugging efforts that you 
can deploy to on demand.

=or=
b) setup a special project that can proxy via localhost requests to the 
API that you can deploy on your own machine that you also have setup to 
host the front-end you are working with

=then=
c) Convert entire project to version 2.8.2, make code adjustments to 
match 2.8.2, then you can debug via your dev setup using something like 
the GWT SuperDev debug via Eclipse chrome debug plugin or similar.


On 1/15/20 9:11 AM, Luis Soto Sepulveda wrote:

Hi Everyone:

I'm working on this web application (Intranet JEE / Rest Services 
application) and is using an OLD GWT version (probably 2.0.3 as i can 
see in the code)...


This application works fine running on Internet explorer and chrome, 
but here "development team" told me that i can "not perform direct 
debug in some java classes, mainly java files on Eclipse in front end 
(starting from GWT Entry Point and then...)


But i can debug some parts of back end with eclipse (rest services 
backend layer)...


So i need help with the following:

1) Can i debug GWT 2.0 using IE / chrome and Eclipse IDE (Neon) ???, 
IF YES please send me here any URL with this kind information...


As i can see i can not use "super dev mode" since i have no access to 
source maps in order to debug GWT and point this to JEE class files 
(because this is supported in GWT 2.5 or above)...


SO, how can i debug GWT if i have no access to Source maps ???

(i'm also not administrator user in my machine, so i can not install 
software using windows installers)


Best Regards.
--
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-toolkit+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/d9be9ad7-7b2c-415e-a3f6-a4082c9f5583%40googlegroups.com 
.


--
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-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/dc10a529-d604-8ded-f6f2-aa71434ceeaa%40newsrx.com.