ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/Debug.pm
(Generate patch)

Comparing Coro/Coro/Debug.pm (file contents):
Revision 1.112 by root, Fri Dec 7 22:37:24 2012 UTC vs.
Revision 1.113 by root, Thu Dec 13 00:20:40 2012 UTC

408 408
409 } else { 409 } else {
410 my @res = eval $cmd; 410 my @res = eval $cmd;
411 print $@ ? $@ : (join " ", @res) . "\n"; 411 print $@ ? $@ : (join " ", @res) . "\n";
412 } 412 }
413
414 local $| = 1;
413} 415}
414 416
415=item session $fh 417=item session $fh
416 418
417Run an interactive debugger session on the given filehandle. Each line entered 419Run an interactive debugger session on the given filehandle. Each line entered
418is simply passed to C<command>. 420is simply passed to C<command> (with a few exceptions).
419 421
420=cut 422=cut
421 423
422sub session($) { 424sub session($) {
423 my ($fh) = @_; 425 my ($fh) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines