New stable release with return value inspection
By David Håsätherhzr. Thursday, July 26, 2012 12:00:00 PM
When debugging a program, it is often useful to know the value that was returned from the last function call. If the value is assigned to a variable it's easy to inspect, but sometimes you might have something like this without a reference to the value returned:
mul(add(1, 2), add(3, 4));
Today's stable release includes a new feature that makes it easier to debug this sort of code. When stepping out of a function, the return value will be displayed under Return Values in the State tab, along with the function that returned the value. Next to the values are arrows that can be clicked to jump directly to the return statement or back to the line from where the function was called.
When stepping over a line with several function calls, all return values will be shown, in order, with the most recent call at the top.