using conditional breakpoints for sub

  • Thread starter Daneel Yaitskov
  • Start date
D

Daneel Yaitskov

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top