Help on Debugging
From CompSciWiki
COMP 1010 Home > Back to Chapter Topics
IntroductionThis section gives some help on debugging Java programs.
|
---|
{{{Body}}}
Compile-time Errors
Compile-time errors are errors Java reports to us while we're compiling a Java program. These are typically problems that, when not resolved, prevent Java from being able to properly understand the code we're compiling, and so must be fixed before a class file can be built.
A list of common compile-time errors and typical causes: Interpreting Compile-time Error Messages.
Run-time Errors
Run-time errors occur when you run a Java application on the JVM. Typically, these may not be problems explicitly with the code but may be issues that can only be determined when the code is run.
For interpreting run-time errors see this list.