Solved

How to setup debug environment for extjs

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This article discusses how to create an extensible mechanism for linked drop downs.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now