Solved

debug Javascript with webwork

Posted on 2009-03-31
3
400 Views
Last Modified: 2012-05-06
I have a jsp page, it contains following line:

<script type="text/javascript" src="allSoftwareScript.action"></scrip>

In allSoftwareScript.action, it returns a jsp page called script.jsp whose contentType is Javascript.

Does that mean Javascript would be loaded at run time or in other words, dynamically. How could I debug this script.jsp page?
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
3 Comments
 
LVL 92

Assisted Solution

by:objects
objects earned 500 total points
ID: 24027533
yes it would be loaded at runtime
you would debug in the browser using firebug

0
 

Author Comment

by:JianJunShen
ID: 24027605
But how to debug in firebug? I have installed firebug. If it is embeded javascript, it is easy to do. I put a break point before <script type="text/javascript" src="allSoftwareScript.action"></scrip>, and reload the page. In firebug, it does not stop.

0
 

Accepted Solution

by:
JianJunShen earned 0 total points
ID: 24029238
I find the way to debug the Javascript by firebug. Above the menu(which has console,html, script and so on) there is a combox after selecting script. All the javascript within the scope is shown. Just clike one of them, put break point and finally reload the page.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses

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