This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How do I see a subroutine's return value


Brian Stell wrote:
> 
> <thanks_for_a_great_tool>
>     Insight is a wonderful tool!
>     It allows me to easily step into bodies of code that I'd never
> undertake with just gdb alone.
>     The local variables display is great!
> </thanks_for_a_great_tool>
> 
Thanks!

> <info_or_feature_request>
>     Can I see/modify the return value from a subroutine before I
> actually return?
>     Is it possible to do this at the closing brace?
> </info_or_feature_request>
> 

Use the "return <expression>" command from the little simulated console.

Maybe we should add a button for return....


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]