You can globally replace waitpid() with a Perl wrapper and then put a breakpoint in that wrapper. Something like:
BEGIN { *CORE::GLOBAL::waitpid = sub($$) { CORE::waitpid( $_[0], $_[1] + ) }; }
Update: Added the 'prototype' from prototype('CORE::waitpid') so parsing of code isn't changed by this override.
- tye
In reply to Re: Breakpoint on waitpid()? (override)
by tye
in thread Breakpoint on waitpid()?
by slagperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |