Peter Scott wrote:
> > What's the best/recommended way for a script to detect when it's
> > running under the debugger ?
>
> I usually do
>
> ... if defined &DB::DB
>
> for the prettiness of it.
Thanks - that looks like a much better test.
--
Tim
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Tim Meadowcroft) writes:
>What's the best/recommended way for a script to detect when it's running
>under the debugger ?
I usually do
... if defined &DB::DB
for the prettiness of it.
--
Peter Scott
http://www.perldebugged.com/
*** NEW
Hi all,
I've searched various FAQ's, perldocs and the archive of the list, but
can't find any mention of this, so thought this list might be a good
source of advice.
What's the best/recommended way for a script to detect when it's running
under the debugger ?
I know you shouldn't need to know,