using conditional breakpoints for sub

  • Thread starter Daneel Yaitskov
  • Start date


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;


$perl -d
b s1 $_[0]==333

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