Debugging:-Laptop programmers, like everyone else, usually are not good. This implies the packages they write typically have small errors, referred to as “bugs,” in them. These bugs may be minor, akin to not recognizing consumer enter, or extra severe, akin to a reminiscence leak that crashes this system. Earlier than releasing their software program to the general public, programmers “debug” their packages, eliminating as many errors as attainable. This debugging course of usually takes a very long time, as fixing some errors might introduce others.
Compiling:-When programmers create software program packages, they first write this system in supply code, which is written in a selected programming language, akin to C or Java. These supply code recordsdata are saved in a text-based, human-readable format, which may be opened and edited by programmers. Nevertheless, the supply code can’t be run instantly by the pc. To ensure that the code to be understood by the pc’s CPU, it should be compiled into an executable program.
Most software program improvement packages embrace a compiler, which compiles supply code recordsdata into machine code. This code, typically known as object code, may be executed instantly by the pc’s processor. Subsequently, the ensuing utility is sometimes called an executable file. Home windows executable recordsdata have a .EXE file extension, whereas Mac OS X packages have .APP extension, which is commonly hidden.
So the conclusion is a compiled program might have errors or bugs however not a efficiently debugged program can’t have any.
So for an ideal program that you must debug and compile a program
Posted By: Deepika Pai on https://ezinearticles.com/?What-is-the-Distinction-Between-Compiling-and-Debugging?&id=1341238