[Qt-creator] "Step Over" at the function-end should do "Step Out"

André Pönitz apoenitz at trolltech.com
Wed Nov 5 12:27:37 CET 2008


On Wednesday 05 November 2008 11:13:20 Michael Sué wrote:
> Hi Creator-Team,

Hi Michael.

I am with you in so far as that the "Step Over" behaviour is sometimes
unexpected, especially when coming from VS. However...
 
> "Step Over" at the function-end should do "Step Out" - a feature suggestion.
> [...]
> You can probably say, this behaviour is what gdb does on its own with its
> "s" and "n"-commands, 

... that's what I actually do say ;-)

As long as Qt Creator acts as a frontend to gdb we are more or less restricted
to what gdb offers. Implementing your suggestion (which I'd consider useful 
myself...) would require to recognize when we are "at function end". I am
not aware of a (reliably and not computationally expensive) way to do so.
I am open for suggestions ;-)

The simplest solution is probably to get used to use "finish" (Shift-F11) instead
of "next" (F10) when in a function you don't want to examine further.

Kind regards.
Andre'




More information about the Qt-creator-old mailing list