Answer the question
In order to leave comments, you need to log in
What is the difference between running without debugging and running with debugging?
Debugging - Finding the Cause of an Error
I can't find a use for it when I run debug/no debug, in both cases the compiler reports errors, then what's the difference?
Answer the question
In order to leave comments, you need to log in
First, the compiler always points out errors and ambiguities.
Secondly, not running with debugging, but compiling with debugging symbols.
In debug mode, special characters are added to the compiled executable binary, allowing you to see in which function the program crashed. The debug binary allows you to walk the stack of function calls, execute each processor instruction or C/C++ line in order. Set a breakpoint, etc.
Read more here
And what is also important - there are differences in the initialization of variables with initial parameters. Concerns visualStudio.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question