using conditional breakpoints for sub

Discussion in 'Perl' started by Daneel Yaitskov, Dec 3, 2008.

  1. Hi All,



    I think that conditional breakpoints for the subs was made that debbuggers
    (people) fast accomplish to a need place and a contex. Not spending
    time it go through the superfluous calls.

    I can't understand how to use this feature. For example:

    sub s1{
    my ($a,$b) = @_;
    print "FIRST arg $a\n";
    }

    s1 111,222;
    s1 333,333;

    #end

    $perl -d test.pl
    >b s1 $_[0]==333
    >c


    debugger stops at the first call of the s1.


    Daneel Yaitskov
    Daneel Yaitskov, Dec 3, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. digz
    Replies:
    4
    Views:
    975
  2. Ben
    Replies:
    2
    Views:
    886
  3. Lawrence D'Oliveiro

    Death To Sub-Sub-Sub-Directories!

    Lawrence D'Oliveiro, May 5, 2011, in forum: Java
    Replies:
    92
    Views:
    2,024
    Lawrence D'Oliveiro
    May 20, 2011
  4. Daneel Yaitskov

    using conditional breakpoints for sub

    Daneel Yaitskov, Dec 3, 2008, in forum: Perl Misc
    Replies:
    0
    Views:
    123
    Daneel Yaitskov
    Dec 3, 2008
  5. Demian Brecht

    Conditional breakpoints in ceval.c

    Demian Brecht, Nov 9, 2013, in forum: Python
    Replies:
    2
    Views:
    88
    David Froger
    Nov 12, 2013
Loading...

Share This Page