What is debugging | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

What is debugging

Tell me what is debugging

28th Sep 2019, 9:38 AM
kunal kourav
20 Answers
+ 5
debuggin is way to find your code error reason. for example you have a Java code without output you can find your Java error with debugging.
28th Sep 2019, 9:55 AM
Majid Jalilian
Majid Jalilian - avatar
+ 5
Here are some additions how debugging is done in practice. Nearly every IDE has the ability to do debugging. You can run your code by stepping through the lines one be one in the sequence the code would run without debugging. In each step you can watch the variables content. It is also possible to set breakpoints in your code. So you can execute code from the beginning up to the first breakpoint. Now you can also watch variables. Then you can decide to execute code to the next breakpoint or step trough line by line. Debugging can be terminated at any time.
28th Sep 2019, 10:26 AM
Lothar
Lothar - avatar
+ 5
From Wikipedia, on the history of the term "bug" as used to denote a defect in a computer program: The term "bug" was used in an account by computer pioneer Grace Hopper, who publicized the cause of a malfunction in an early electromechanical computer. A typical version of the story is: In 1946, when Hopper was released from active duty, she joined the Harvard Faculty at the Computation Laboratory where she continued her work on the Mark II and Mark III. Operators traced an error in the Mark II to a moth trapped in a relay, coining the term bug. This bug was carefully removed and taped to the log book. Stemming from the first bug, today we call errors or glitches in a program a bug.
28th Sep 2019, 11:36 PM
Sonic
Sonic - avatar
+ 5
Separate the words you'll understand better bug means error debug means to get RID OF ERRORS debugging is the process of getting rid of errors
29th Sep 2019, 5:44 PM
Aditya
Aditya - avatar
+ 3
It’s the process of finding and correcting mistakes in your code that either cause the compilation to fail or make it work in an unexpected, not desirable way.
29th Sep 2019, 10:14 PM
Kireii
Kireii - avatar
+ 2
I learn every language
28th Sep 2019, 9:56 AM
kunal kourav
+ 2
Thank you
28th Sep 2019, 10:08 AM
kunal kourav
+ 2
To remove the bugs(errors) from your code
28th Sep 2019, 8:11 PM
Aloukik Attrey
Aloukik Attrey - avatar
+ 1
this is debugging the code and finding errors in it
28th Sep 2019, 9:48 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Thanks
28th Sep 2019, 9:49 AM
kunal kourav
+ 1
But what is debugging
28th Sep 2019, 9:50 AM
kunal kourav
+ 1
What pl you study now?
28th Sep 2019, 9:51 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
I dont understand
28th Sep 2019, 9:53 AM
kunal kourav
+ 1
Pls tell
28th Sep 2019, 9:53 AM
kunal kourav
+ 1
What programm language you learn?
28th Sep 2019, 9:54 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
All
28th Sep 2019, 9:55 AM
kunal kourav
+ 1
I can show how it works only in javascript. all languages simultaneously impossible learn (if you not genius). start to learn at least one of them and understand everything yourself.
28th Sep 2019, 9:58 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Debugging, debugging [1], debugging [1] or debugging is a systematic process of finding and reducing the number of software errors, or defects, in a computer program or piece of electronic hardware, thus making it work as expected. Debugging tends to be more difficult when multiple subsystems are highly interconnected, so changes in one system may result in code errors in the other. Several books have been written about error correction , because it includes many aspects, including interactive error correction, flow control, correlation testing, data log files, monitoring (application, system) [ ,] Reprint memory content, program analysis, statistical process control, and your design tactics for improved discovery while simplifying changes. This article is Wikipedia.
29th Sep 2019, 5:38 PM
Shuaib Ramadan
Shuaib Ramadan - avatar
+ 1
Debugging: Debugging is a process of searching and removing bugs from the Code.
30th Sep 2019, 7:14 AM
Sunil kumar
Sunil kumar - avatar
+ 1
Thank you all. This question let me understand the concept of debugging
19th Jan 2021, 4:39 AM
∆BH∆Y
∆BH∆Y - avatar