in reply to Translate debug code to a debugging technique

Would "$DB::single = 1;" be enough to return you control while in the debugger? You could then do whatever you needed to track down your problem?
  • Comment on Re: Translate debug code to a debugging technique

Replies are listed 'Best First'.
Re^2: Translate debug code to a debugging technique
by hlen (Beadle) on Oct 02, 2004 at 04:29 UTC
    Seems nice =). I'm trying to test that, but am having some trouble. My code forks, and the debugger is opening some `Daughter' windows, and then I can't get it to respond. It seems to be entering an infinite loop when I close them. I need some practice, maybe there's a way to make it not follow children.

    I still wonder if there's a way to do that without editing the code, out of curiosity.

    Thanks a lot.