develooper Front page | perl.perl5.porters | Postings from July 2014

Re: [perl #122445] Segmentation fault while debugging programs usingbignum in 5.18.2

Thread Previous | Thread Next
From:
John Peacock
Date:
July 31, 2014 01:56
Subject:
Re: [perl #122445] Segmentation fault while debugging programs usingbignum in 5.18.2
Message ID:
53D9A227.10804@havurah-software.org
On 07/30/2014 09:34 PM, James E Keenan via RT wrote:
> You are trying to assign to $DB::single, which seems to violate the "readonly" stipulation.

Setting a debugging break programatically by assigning to $DB::single is 
both documented (see Debugging Compile-Time Statements):

http://perldoc.perl.org/perldebug.html

and incredibly useful (hint, you can also set it conditionally to break 
in a loop only when specific conditions are true).  It is also the only 
way to debug a BEGIN block.

John

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About