Monday, 17 November 2014

F452 - Debugging

Debugging is a useful thing in most compilers/ IDE's.

Debugging allows you to go through the code step by step, so if you were looking at a for loop that organises an array you can go through the loop and see how the values change.

Allows you to single step through the code.

Call stack to show what calls your function and what the next step is.


This link is just an example of Bubble Sort so you can have a go at debugging this if you like:
http://www.softwareandfinance.com/CSharp/Bubble_Sort.html
(Bubble Sort is a method of sorting arrays in which values in the array starting with the first two are compared and switched if necessary)


No comments:

Post a Comment