Feature Request: Debugger should remember last return value of functions



Hello,

It would be nice if the Debugger could remember the last returned value of a
function.

For example:

// somewhere else in code...
function SomeFunction : integer;
begin
result := Random(255);
end;

// Code being debugged:

while SomeFunction > 0 do // *** hint here ***
begin


end;

Would be nice if the programmer could hold the mouse cursor over the
SomeFunction call and simply see the last returned value.

Bye,
Skybuck.


.



Relevant Pages

  • Re: Really wierd bug
    ... CVF debugger is really comfortable to use: ... - F9 toggles the Breakpoint on cursor location. ... Ctrl+F10 (run to cursor) causes the program to run until it reaches the ... All local variables appear in "Locals" debugger window ...
    (comp.lang.fortran)
  • Re: newbie with xcode - Am *VERY* disappointed...
    ... That also has this annoying "delay" which happens because you know that xcode or ddd both has to communicate with gdb... ... I can then see value just right next to the mouse cursor, before even stepping into that line... ... If I want to know the whole expression, without even executing it I mark ... The debugger just does all the hard work for me so I don't have to go into each individual variable, find the relevant index positions and figure out the result of each term ...
    (comp.sys.mac.programmer.help)
  • Re: AppleWin Tracing
    ... Chris Morse wrote: ... the development version adds a new "cursor" to the debugger and the ... nBeg = nNow; ...
    (comp.emulators.apple2)
  • Re: [Eclipse] Debug doesnt work properly.
    ... > Sounds like the line number information of the code is missing. ... The debugger can track my steps inside a method. ... > have been compiled without the linenumber info (I think for reasons of ... cursor does not follow the debugger's information! ...
    (comp.lang.java.softwaretools)
  • Re: Revisiting an Old Prejudice: READ INTO/WRITE FROM
    ... I quit looking at dumps when debuggers came out. ... The Micro Focus debugger can be run against a dump. ... source, same as normal debugging, and puts the cursor on the failing ...
    (comp.lang.cobol)