View previous topic :: View next topic |
Author |
Message |
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Tue Feb 20, 2018 5:38 pm Post subject: Step Out |
|
|
A Step Out (continue and carry out the next return) for the debugger.
I currently have to "get to" the END statement in a subroutine/function and step again to get to the next statement in the caller.
(I don't usually have alternative RETURNS in the function/subroutine body, but when I do I have to put down breakpoints on these lines as well )
This is just a "nice" suggestion. I could understand if it is very low priority.
David. _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1896
|
Posted: Tue Feb 20, 2018 9:15 pm Post subject: |
|
|
David, the current SDBG64 has StepOut.
The 32-bit SDBG does not, and I hope that it gets this feature one of these days. The feature is especially useful when there are a large number of RETURN statements at different places in a subprogram. It is a chore to set a breakpoint at every one of these RETURN statements. |
|
Back to top |
|
|
davidb
Joined: 17 Jul 2009 Posts: 560 Location: UK
|
Posted: Wed Mar 21, 2018 5:57 pm Post subject: |
|
|
Thanks mecej4, I didn't know that. _________________ Programmer in: Fortran 77/95/2003/2008, C, C++ (& OpenMP), java, Python, Perl |
|
Back to top |
|
|
|