Solved

How to setup debug environment for extjs

Posted on 2009-03-30
5
1,078 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
  • 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSV file parsing thru Java 13 31
Client Validating 2 date fields, required & comparison 1 28
replace link with jQuery 4 15
Java syntax, or is it Selenium 6 15
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

803 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