Unit 17.2. Distinguish Error Messages

PL/SQL vs. JavaScript vs. HTML Errors

When something goes wrong, the first step is to identify which type of error you are seeing. The error could result from PL/SQL code, or from JavaScript, or from HTML code. It might even result from these errors working together.

You have two kinds of source code to look at:

  1. Source code for the PL/SQL procedure

  2. Source code for the HTML page (generated by the PL/SQL procedure)

Line numbers are different in the PL/SQL and in the HTML source code. Keep this in mind when you see an error message. PL/SQL error messages give line numbers that correspond to the PL/SQL procedure. JavaScript errors are generated by the browser, and if a line number is given in the error message, ...

Get Oracle® Web Application Programming for PL/SQL® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.