Stepping (debugging)

Stepping (debugging)

Stepping refers to the very common debugging method of executing code one line at a time. The person debugging may examine the state of the program, machine, and related data "before and after" execution of a particular line of code. This allows the person to evaluate the effects of that instruction in isolation and thereby gain insight into the behavior (or misbehavior) of the program. Nearly all modern IDEs and debuggers support this mode of execution.

Historically, stepping also referred to the related, more microscopic, but now obsolete method of debugging code by stopping the processor clock and manually advancing it one cycle at a time. For this to be possible, three things are required:

*A control that allows the clock to be stopped.
*A second control that allows the stopped clock to be manually advanced.
*Some means of recording the state of the processor after each cycle.

On some IBM System 360 processors, these facilities were provided by front panel switches and banks of neon lights. Other systems such as the PDP-11 provided similar facilities, again on some models. The precise configuration was also model-dependent. It would not be easy to provide such facilities on LSI processors such as the Intel x86 and Pentium lines, owing to cooling considerations.

External links and references

* [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/html/_asug_stepping_into_functions.asp Stepping (Visual Studio)] Overview of stepping support in Microsoft Corporation's IDE, Visual Studio


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Stepping — may refer to:* Walking * Stepping, Sønderjylland, a village in DenmarkIn computing: * Stepping, an aspect of microprocessor version designation * Stepping, a method of debuggingIn dance: * Step dance * Stepping (African American)ee also* Step …   Wikipedia

  • Debugger — A debugger or debugging tool is a computer program that is used to test and debug other programs (the target program). The code to be examined might alternatively be running on an instruction set simulator (ISS), a technique that allows great… …   Wikipedia

  • Microsoft Visual Studio — Visual Studio 2010 SP1 editing a WPF application Developer(s) …   Wikipedia

  • Instruction step — An instruction step is a method of executing a computer program one step at a time to determine how it is functioning. This might be to determine if the correct program flow is being followed in the program during the execution or to see if… …   Wikipedia

  • Atmel AVR — AVR logo. Atmel AVR ATmega8 in 28 pin DIP . The AVR is a …   Wikipedia

  • Software bug — To report a MediaWiki error on Wikipedia, see Wikipedia:Bug reports. A software bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or …   Wikipedia

  • In-circuit emulator — An in circuit emulator (ICE) is a hardware device used to debug the software of an embedded system. It was historically in the form of bond out processor which has many internal signals brought out for the purpose of debugging. These signals… …   Wikipedia

  • AppleScript — Paradigm(s) Natural language, Scripting …   Wikipedia

  • Test-driven development — (TDD ) is a software development technique consisting of short iterations where new test cases covering the desired improvement or new functionality are written first, then the production code necessary to pass the tests is implemented, and… …   Wikipedia

  • CodeView — was a standalone debugger created by David Norris at Microsoft in 1985 as part of its development toolset. It originally shipped with Microsoft C 4.0 and later. It also shipped with Visual Basic for MS DOS, Microsoft Basic PDS, and a number of… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”