?
Solved

How to setup debug environment for extjs

Posted on 2009-03-30
5
Medium Priority
?
1,118 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 400 total points
ID: 24019252
I always using alert("testing");
0
 
LVL 92

Assisted Solution

by:objects
objects earned 1600 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 1600 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

Docker-Compose to Simplify Multi-Container Builds

Our veteran DevOps Author takes you through how to build a multi-container environment, managed with a single utility in order to simplify your deployments.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month11 days, 6 hours left to enroll

752 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