I'm using Autotest to automatically run my tests when I modify my code.
I would like to use ruby-debug to debug some of my code.  The problem is
whenever I put a debugger statement in my code, the breakpoint is hit,
but the usual debugger output, containing the source code and line
numbers, is not show in my terminal so I can't see what's going on.  It
takes my input commands, however.  After the tests have completed, all
of the debugger output is finally written to the console.

I've looked into the Autotest code
(https://github.com/seattlerb/zentest/blob/master/lib/autotest.rb#L343)
and it appears that it is kicking off another ruby subprocess to run the
tests.  I'm certain this is why the debugging output isn't showing up
until the tests have finished running.  I've tried altering the Autotest
code to use popen() and PTY.spawn() with no luck.  The output is still
not showing up when the breakpoints are hit.  Can someone help me out?

-- 
Posted via http://www.ruby-forum.com/.