RE: Q: How best to detect running inside the debugger

2004-11-01 Thread Tim Meadowcroft
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

Re: Q: How best to detect running inside the debugger

2004-10-31 Thread Peter Scott
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

Q: How best to detect running inside the debugger

2004-10-29 Thread Tim Meadowcroft
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,