This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: How do I see a subroutine's return value
- To: Brian Stell <bstell at netscape dot com>
- Subject: Re: How do I see a subroutine's return value
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Fri, 20 Oct 2000 17:11:14 -0400
- CC: insight_mailing_list <insight at sources dot redhat dot com>
- Organization: Red Hat , Inc. - Toronto
- References: <39F0B212.91EFDF80@netscape.com>
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