On Mon, Jun 4, 2012 at 11:42 PM, Brooks, Phil <[email protected]> wrote:
> Thanks for the quick response Xavier!

Nice to hear from you again Phil.


> The issue seems to be that my process is hanging trying to do
> output.  When I interrupt, it is stuck in some cout routines.  When
> I increase the size of the output from the small script, I see the
> same issue.  I also notice that no output comes out of the terminal
> that I started pyclewn from.


I can reproduce the problem that no output is printed in pyclewn
terminal. I will look into it.


> If I alter the output terminal as you suggest, everything is fine -
> but this seems sort of cumbersome??
>
> What could be causing the output terminal to block output?    I
> tried both xterm and the


A change was made by gdb (at gdb 7.1) in the configuration of the
controlling terminal of the debuggee. Googling for
'gdb "Failed to set controlling terminal"'
shows that this change has annoyed a lot of people.
One explanation for this change can be found at the gdb bug report:
http://sourceware.org/bugzilla/show_bug.cgi?id=11403

Following this change, the inferior_tty functionality has been added
to pyclewn.  The inferior_tty.py script can be started from Vim (as
you did with success).  The inferior_tty functionality is also run in
the background when pyclewn is started from a terminal but there seems
to be something wrong with this.

The inferior_tty functionality does not just provide the ability to
print the debuggee output, it is also the controlling terminal of the
debuggee so it can process input.

--
Xavier

Les Chemins de Lokoti: http://lokoti.alwaysdata.net

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general

Reply via email to