Solved

How to setup debug environment for extjs

Posted on 2009-03-30
5
1,096 Views
Last Modified: 2012-05-06
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
Comment
Question by:JianJunShen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 15

Assisted Solution

by:fsze88
fsze88 earned 100 total points
ID: 24019252
I always using alert("testing");
0
 
LVL 92

Assisted Solution

by:objects
objects earned 400 total points
ID: 24023887
0
 

Author Comment

by:JianJunShen
ID: 24026397
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
 
LVL 92

Assisted Solution

by:objects
objects earned 400 total points
ID: 24026405
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
 

Accepted Solution

by:
JianJunShen earned 0 total points
ID: 24029173
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
This article discusses how to implement server side field validation and display customized error messages to the client.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question