Profiling is about executing a program and finding out how much time it spends in each routine. The goal of profiling is often finding slow routines in a program and optimizing them. Profiling is done on working code.
Debugging is about finding code that is not working, i.e. has some kind of defect. The program is known to have a defect because some set of inputs causes a set of outputs that are known to be wrong. Debugging is the process of finding the source of the defect in the code and fixing that location and any other downstream locations so that the set of inputs is correctly rendered into the set of outputs.
Chat with our AI personalities
dDebugging is the process of executing programs with sample datasets to determinine if the results obtained satisfactory and debugging is also indicate the presense of error.
Programming is the process of creating code. Debugging is the process of fixing problems in existing code.
Debugging
Debugging a program is to correct, remove a fault, produce better security, etc, in a computer program.
Debugging is a way of running the program to locate any errors that may arise at run-time.
Debugging XML Web Service created with ASP .Net is similar to debugging an ASP .Net web Application.