http://qs321.pair.com?node_id=588192


in reply to Re: debug: local watch expression
in thread debug: local watch expression

Thanks wjw. I guess there is more than one way to do it :). However, it still bugs me that I can't watch, under debugger, a variable in a selected package. I have used Komodo to debug perl code and I was able to watch a selected variable, but it wouldn't break on the watched variable though.

Replies are listed 'Best First'.
Re^3: debug: local watch expression
by wjw (Priest) on Dec 06, 2006 at 22:55 UTC
    Yeah, I generally use Devel::ptkdb, but of course that requires that Tk be installed. I have also used ddd on Linux and Cygwin, and like that a lot. I simply refuse to pay for Komodo, and have found the Epic plugin for MyEclipse sort of wierd too... . I generally find that I end up back at the CLI debug with some variation of what I mentioned earlier. I usually just don't have the time to mess around setting up a 'convenient' debug environment when at work. :-)

    Glad you brought up that question too. Made me go back and review the perldebug docs, which pointed out a few things that I could be doing to speed things up...

    ...the majority is always wrong, and always the last to know about it...