How to Debug Runtime Errors
Runtime errors occur when a program stops functioning when you are trying to run it. It typically displays a dialog box saying "A Runtime Error has occurred." Runtime errors frequently occur when you are browsing the web and trying to open a page that has faulty code. It also occurs due to a corrupt registry or because of malware like spyware and viruses that may have entered a computer. Runtime errors can get irritating, especially when you are trying to get a job done. You can often debug such errors.
Instructions
-
-
1
Launch your web browser. If you use "Internet Explorer," click on "Tools" and select "Internet Options." Then click on the "Advanced" tab. Scroll down and put a check mark next to "Disable script debugging (other)" Hit "Apply" and select "OK." If you use Mozilla Firefox, right-click on "My Computer" and select "Properties." Click on the "Advanced" tab and then select "Error Reporting" tab. Click on "Disable error reporting."
-
2
Run a registry scanner. "Registry Mechanic," "Registry Patrol" and "DT Utilities Registry Repair" offer free trial versions (see Resources). Select and install one of the programs. Run a complete diagnostics test on your computer to correct registry problems.
-
-
3
Clean off unused or suspicious programs. Open the Start menu and select "Control Panel." Double-click on "Add or Remove Programs." Scroll down the list and find programs that you either do not use or that you don't recognize. Single-click on each of them and hit the "Change/Remove" button to uninstall.
-
4
Use "Disk Defragmenter" to rearrange related data and files so they are closely placed together and you can access them faster. Click on the Start button and select "All Programs." Click on "Accessories" to find the menu command for "Disk Defragmenter." Click on the "Disk Defragmenter" tab and hit the "Degfragment" button. Plan to wait, as this process may take a long time to complete.
-
5
Download an antivirus program to clean off viruses. AVG, Avast and Avira offer free trial editions and free downloads (see Resources). Select and install the program. Run a complete scan of your computer. Follow the onscreen prompts to remove any virus(es) from your computer.
-
1