Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > using conditional breakpoints for sub

Reply
Thread Tools

using conditional breakpoints for sub

 
 
Daneel Yaitskov
Guest
Posts: n/a
 
      12-03-2008
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Death To Sub-Sub-Sub-Directories! Lawrence D'Oliveiro Java 92 05-20-2011 06:50 AM
using conditional breakpoints for sub Daneel Yaitskov Perl Misc 0 12-03-2008 11:23 AM
Recognising Sub-Items and sub-sub items using xslt Ben XML 2 09-19-2007 09:35 AM
conditional breakpoints in gdb (c++) digz C++ 4 03-24-2007 07:13 PM
? ELSE Conditional Comment / Using Conditional Comments Inside Other Tags To Comment Out Attributes Alec S. HTML 10 04-16-2005 02:21 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57