• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1149
  • Last Modified:

How to setup debug environment for extjs

I am using Eclipse EE, and tomcat for a webwork, extjs, hibernate spring application. For spring and hibernate staff, I have remote application debugging settings configured. So I make debug. But for extjs, I have installed firebugs in firefox browser in my ubuntu machine, but I still do not know how to catch break point to see how to trace javascript code.  
0
JianJunShen
Asked:
JianJunShen
  • 2
  • 2
4 Solutions
 
fsze88Commented:
I always using alert("testing");
0
 
JianJunShenAuthor Commented:
I have already used firebug. The things is written in .jsp fomrat. It has <%@page contentType="text/javascript" pageEncoding="UTF-8" %> as first line. And it combines webwork script like <ww:if test="grid !=null"> .... . Could firebug could help in this case? At least I do not know how to use it. Or shall I ask: How to debug a JSP page with Javascript as content type?


0
 
objectsCommented:
if you want to debug the js then its really irelevant how it was generated as the code is getting executed on the browser. so yes use firebug for debugging the client side

0
 
JianJunShenAuthor Commented:
Yes, finally I make debugging work. One only need to go to script page, and above menu, there is a combox one could see all the javascripts within the scope. Then just select one of them and put the break point, finally reload the page.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now