Solved

debug Javascript with webwork

Posted on 2009-03-31
3
399 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

740 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