Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between debug and compile?

Tags:

.net

What is the difference between debug and compile?

How do I compile an application without debugging in Visual Studio?

like image 271
Vaibhav Jain Avatar asked Apr 16 '10 07:04

Vaibhav Jain


1 Answers

Compile is the act of turning human-readable code into code the machine can understand and execute.

Debug is the act of finding out where in the code the application is going wrong (debug = get rid of bugs.)

In the context of an IDE, compile (Build in Visual Studio) just builds the code, debug (Run in Visual Studio) compiles the code, launches it and attaches a debugger.

like image 89
Andy Shellam Avatar answered Oct 10 '22 09:10

Andy Shellam