![]() |
![]() |
[ Bottom of Page | Previous Page | Next Page | Contents | Index ]
To debug a JavaScript resource model so you can correct any errors in a resource model.
You can debug a JavaScript resource model with debugging tools, such as
Microsoft Visual Studio(TM) or Script Debugger for Windows(TM). If you do
not have a debugging program in your environment, you can obtain a free program
by searching for a script debugger, or by downloading one from the following
Web site:
http://microsoft.com/downloads/details.aspx?FamilyId=2F465BE0-94FD-
4569-B3C4-DFFDF19CCD99&displaylang=en
You can also debug a JavaScript resource model without a debugging program. Use the trace and logging files to search for resource model errors.
None
When you have fixed all the errors, run the resource model again. To make sure that the resource model actually detects the problems that you specified, simulate those problems on your workstation when you run the resource model. See Running a resource model.
Additional Information: If your system has a debugging program installed, the debugger window automatically pops up after the resource model runs. If you get a prompt asking you if you want to debug an error, click Yes to launch the debugger.
Additional Information: Errors displayed in the JavaScript Console are a result of syntax errors in the code. If you resolve these errors, and the resource model runs without errors, you do not need to examine the trace or log files. If no error displays in this view, then the error is not syntax-related, and you should go to the next step.
--OR--
[ Top of Page | Previous Page | Next Page | Contents | Index ]