Unsolved

This post is more than 5 years old

54 Posts

5365

March 22nd, 2006 17:00

What exactly is a runtime error?

It would be cool if using the search feature of this site answered this question. But, since it doesn't, I'll ask here.
 
I keep getting
 
A Runtime Error has occurred
Do you wish to debug?
 
Line 37
Error; Object expected
 
Clicking yes starts a "debugger" which pops a bunch of windows up on the screen that don't do anything. What is all this for?

March 22nd, 2006 18:00

runtime describes the operation of a program, the duration of its execution, from beginning to termination. The term is used as a short form when referring to a runtime library, a program or library of basic code that is used by a particular language to manage a program written in that language while it is running. It is a collection of utility functions which support a program while it is running. Some program debugging can only be performed when performed at runtime. Logical and array bounds checking for example. For this reason, some programming bugs aren't discovered until the program is tested in a live environment with real data, despite sophisticated compile-time checking and pre-release testing. In this case, the end user may encounter a runtime error message.

March 22nd, 2006 18:00

Plain and simple, when you click "yes" and the debugger comes up you are changing the programming. It asks you to debug because there is an error in the program that should be fixed. The error is an error that is not caught by the compiler, so it occurs durring the execution of a program.

Message Edited by faji-tama on 03-22-2006 03:03 PM

54 Posts

March 22nd, 2006 19:00

Well, that was alot of fun!

54 Posts

March 22nd, 2006 22:00

Denny, If I disable script debugging, will it affect the browser function? BTW, thanks your response actually makes sense to regular people.

2 Intern

 • 

18.8K Posts

March 22nd, 2006 22:00

gregp1962,

That error indicates a Javascript error on the Web page (which you can do nothing about). To eliminate the message in Internet Explorer go to Tools|Internet Options|Advanced tab. Clear the check mark from "Display a notification about every script error" and check "Disable script debugging."

Top