public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* How do I see a subroutine's return value
@ 2000-10-20 13:58 Brian Stell
  2000-10-20 14:11 ` Fernando Nasser
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Stell @ 2000-10-20 13:58 UTC (permalink / raw)
  To: insight_mailing_list

<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>

<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>

Brian Stell


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How do I see a subroutine's return value
  2000-10-20 13:58 How do I see a subroutine's return value Brian Stell
@ 2000-10-20 14:11 ` Fernando Nasser
  0 siblings, 0 replies; 2+ messages in thread
From: Fernando Nasser @ 2000-10-20 14:11 UTC (permalink / raw)
  To: Brian Stell; +Cc: insight_mailing_list

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-10-20 14:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-20 13:58 How do I see a subroutine's return value Brian Stell
2000-10-20 14:11 ` Fernando Nasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).