What is debugging specifically?

我怕爱的太早我们不能终老 提交于 2020-01-02 08:57:32

问题


What is debugging a code and how would I go about this ?


回答1:


Debugging is the process to in which you make sure your code contains no bugs (or at least as few as possible ;) ).

And there is no "way to go about this" per se. But there are widely accepted techniques that are time-proven to work (as you will see in the first link).

There are also specialized tools for when in the need to debug some specific peace of code... but that will always depend on your needs.




回答2:


Debugging code is observing it's run-time behavior, typically through a rich IDE such as Eclipse or Visual Studio. You can inspect the values assigned to variables and set breakpoints in the code where you are basically saying that you would like to start observing the programs behavior when that line of code is executed.



来源:https://stackoverflow.com/questions/5164338/what-is-debugging-specifically

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!