Has anyone encountered or have any pointers to discussion of attempts to use DProf causing Perl to trap?
The code compiles clean under -w and strict. Runs clean both on its own and under debug (-d), but when I try to profile it, perl traps with
Access violation (0xc0000005) at address 0x280742a4.
Stranger still, if I insert a print statement on a previously blank line, I can profile.
If I then comment that line out, I can still profile.
If I remove the print statement but leave the comment, the trap returns.
The commented out print statement will only prevent the trap if it has an argument, and that argument cannot be $/ or $., but can be "" or $^X.
Am I going completely mad? This is repeatable. Any suggestions of how I work out why this occurs?
Is there any way to invoke the profiler but also enter debug mode?
Examine what is said, not who speaks.
In reply to DProf problem by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |