How to inspect GWT generated javascript in Internet Explorer?

81 views
Skip to first unread message

mariyan nenchev

unread,
Jan 15, 2012, 11:23:13 AM1/15/12
to Google Web Toolkit
Hi,

I am unable to inspect GWT generated javascript code in IE?
Any ideas how to do it?

Thanks.

karim duran

unread,
Jan 16, 2012, 2:46:31 AM1/16/12
to google-we...@googlegroups.com
Hi Mariyan

Tools to inspect javascript code in IE are difficult to find.

There is a solution to do that with Mozilla / Firefox

1) Download the WebDeveloper tools for mozilla and install it
https://addons.mozilla.org/en-US/firefox/addon/web-developer/
You have all you need to inspect your page ( CSS, HTML DOM,
javascripts with a debbuger )

2) Download and install firebug, an advanced tool to debug your client scripts
https://addons.mozilla.org/en-US/firefox/addon/firebug/

3) Download and install the User Agent Switcher extension for Mozilla / Firefox
https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/
A tool to change the client signature of your browser

From the user-agent-switcher tool menu change user-agent to IE (
choose a provided version)

GWT will then believe that your browser is IE, serving generic and
specific javascript that
you can track, inspect and debug with the tools i'm speaking about.

I hope it helps.

Regards.

Karim Duran

2012/1/15 mariyan nenchev <nenchev...@gmail.com>:

> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-we...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-tool...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.

Thomas Broyer

unread,
Jan 16, 2012, 2:35:59 PM1/16/12
to google-we...@googlegroups.com


On Monday, January 16, 2012 8:46:31 AM UTC+1, karim33 wrote:
Hi Mariyan

Tools to inspect javascript code in IE are difficult to find.

Er, starting with IE8, simply hit F12.

For IE6 and IE7 (but who really cares?), Microsoft provides the "IE Developer Toolbar" add-on.

karim duran

unread,
Jan 17, 2012, 9:04:17 AM1/17/12
to google-we...@googlegroups.com
Hi Thomas,

As you said, there is also a Developer Toolbar for IE8 ( IE6 IE7 too).

According to the Microsoft documentation
http://msdn.microsoft.com/en-us/library/dd565628.aspx

Tools provides support for JScript ( read the documentation from the url above ).

As you know, JScript is a specific Microsoft extension from ECMA Script with non-portability issues.

I met these issues during my work, it's why i advice Mozilla tools.

Mozilla developper tools always use standard compliant tools. It's why i made suggestion about them.

Without questioning the IE tools, I do think that the Mozilla tools are more suitable.

Regards.

Karim Duran

2012/1/16 Thomas Broyer <t.br...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/eGHXo6-8wKkJ.
Reply all
Reply to author
Forward
0 new messages